Delen via


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>

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