Table of Contents

Class ViewMasterPage<TModel>

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

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

public class ViewMasterPage<TModel> : ViewMasterPage

Type Parameters

TModel

The type of the model.

Inheritance
ViewMasterPage<TModel>
Inherited Members

Constructors

ViewMasterPage()

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

public ViewMasterPage()

Properties

Ajax

Gets the AJAX script for the master page.

public AjaxHelper<TModel> Ajax { get; }

Property Value

AjaxHelper<TModel>

The AJAX script for the master page.

Html

Gets the HTML for the master page.

public HtmlHelper<TModel> Html { get; }

Property Value

HtmlHelper<TModel>

The HTML for the master page.

Model

Gets the model.

public TModel Model { get; }

Property Value

TModel

A reference to the data model.

ViewData

Gets the view data.

public ViewDataDictionary<TModel> ViewData { get; }

Property Value

ViewDataDictionary<TModel>

The view data.