Share via


HtmlHelper.ViewContext Property

Definition

Gets or sets the context information about the view.

public System.Web.Mvc.ViewContext ViewContext { get; }
member this.ViewContext : System.Web.Mvc.ViewContext
Public ReadOnly Property ViewContext As ViewContext

Property Value

The context of the view.

Applies to