Partager via


ViewUserControl.ViewContext Property

Gets or sets the view context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ViewContext As ViewContext
    Get
    Set
[BrowsableAttribute(false)]
public ViewContext ViewContext { get; set; }
[BrowsableAttribute(false)]
public:
property ViewContext^ ViewContext {
    ViewContext^ get ();
    void set (ViewContext^ value);
}

Property Value

Type: System.Web.Mvc.ViewContext
The view context.

See Also

Reference

ViewUserControl Class

System.Web.Mvc Namespace