ViewMasterPage<TModel> ViewMasterPage<TModel> ViewMasterPage<TModel> Class

Definition

Represents the information that is required in order to build a strongly typed master view page.

public class ViewMasterPage<TModel> : System.Web.Mvc.ViewMasterPage
type ViewMasterPage<'Model> = class
    inherit ViewMasterPage
Public Class ViewMasterPage(Of TModel)
Inherits ViewMasterPage

Type Parameters

TModel

The type of the model.

Inheritance
ViewMasterPage<TModel>ViewMasterPage<TModel>ViewMasterPage<TModel>

Constructors

ViewMasterPage<TModel>() ViewMasterPage<TModel>() ViewMasterPage<TModel>()

Initializes a new instance of the ViewMasterPage<TModel> class.

Properties

Ajax Ajax Ajax

Gets the AJAX script for the master page.

Html Html Html

Gets the HTML for the master page.

Model Model Model

Gets the model.

TempData TempData TempData

Gets the temporary data.

(Inherited from ViewMasterPage)
Url Url Url

Gets the URL.

(Inherited from ViewMasterPage)
ViewBag ViewBag ViewBag

Gets the dynamic view-bag dictionary.

(Inherited from ViewMasterPage)
ViewContext ViewContext ViewContext

Gets the view context.

(Inherited from ViewMasterPage)
ViewData ViewData ViewData

Gets the view data.

Writer Writer Writer

Gets the writer that is used to render the master page.

(Inherited from ViewMasterPage)

Applies to