Share via


ViewMasterPage<TModel> Class

Definition

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

C#
public class ViewMasterPage<TModel> : System.Web.Mvc.ViewMasterPage

Type Parameters

TModel

The type of the model.

Inheritance
ViewMasterPage<TModel>

Constructors

ViewMasterPage<TModel>()

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

Properties

Ajax

Gets the AJAX script for the master page.

Html

Gets the HTML for the master page.

Model

Gets the model.

TempData

Gets the temporary data.

(Inherited from ViewMasterPage)
Url

Gets the URL.

(Inherited from ViewMasterPage)
ViewBag

Gets the dynamic view-bag dictionary.

(Inherited from ViewMasterPage)
ViewContext

Gets the view context.

(Inherited from ViewMasterPage)
ViewData

Gets the view data.

Writer

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

(Inherited from ViewMasterPage)

Applies to

Product Versions
ASP.NET MVC 5.2