Class MasterPageBase
A master page base class mimicking System.Web.Mvc.ViewMasterPage. If the master page is used on an System.Web.Mvc.ViewPage that page is used as context, otherwise the ViewPage context is mocked.
Inheritance
System.Object
MasterPageBase
Namespace: EPiServer.Shell.Web.UI
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public abstract class MasterPageBase : MasterPage
Constructors
MasterPageBase()
Declaration
protected MasterPageBase()
Properties
Ajax
Gets the ajax helper from the view page.
Declaration
public AjaxHelper Ajax { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.AjaxHelper |
Html
Gets the html helper from the view page.
Declaration
public HtmlHelper Html { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.HtmlHelper |
Model
Gets the model from the view data.
Declaration
public object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
TempData
Gets the temp data from the view page.
Declaration
public TempDataDictionary TempData { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.TempDataDictionary |
Url
Gets the Url from the view page.
Declaration
public UrlHelper Url { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.UrlHelper |
ViewContext
Gets the view context from the view page.
Declaration
public ViewContext ViewContext { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.ViewContext |
ViewData
Gets the view data from the view page.
Declaration
public ViewDataDictionary ViewData { get; }
Property Value
Type | Description |
---|---|
System.Web.Mvc.ViewDataDictionary |
Writer
Gets the html writer from the view page.
Declaration
public HtmlTextWriter Writer { get; }
Property Value
Type | Description |
---|---|
System.Web.UI.HtmlTextWriter |