Table of Contents

Class ViewStartPage

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

Provides an abstract class that can be used to implement a view start (master) page.

public abstract class ViewStartPage : StartPage
Inheritance
ViewStartPage

Constructors

ViewStartPage()

When implemented in a derived class, initializes a new instance of the ViewStartPage class.

protected ViewStartPage()

Properties

Html

When implemented in a derived class, gets the HTML markup for the view start page.

public HtmlHelper<object> Html { get; }

Property Value

HtmlHelper<object>

The HTML markup for the view start page.

Url

When implemented in a derived class, gets the URL for the view start page.

public UrlHelper Url { get; }

Property Value

UrlHelper

The URL for the view start page.

ViewContext

When implemented in a derived class, gets the view context for the view start page.

public ViewContext ViewContext { get; }

Property Value

ViewContext

The view context for the view start page.