MvcControl.EnableViewState Property
Gets or sets whether to enable the control view state.
Namespace: Microsoft.Web.Mvc.Controls
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
[BrowsableAttribute(false)]
public override bool EnableViewState { get; set; }
public:
[BrowsableAttribute(false)]
property bool EnableViewState {
virtual bool get() override;
virtual void set(bool value) override;
}
[<BrowsableAttribute(false)>]
override EnableViewState : bool with get, set
<BrowsableAttribute(False)>
Public Overrides Property EnableViewState As Boolean
Property Value
Type: System.Boolean
true to enable the control view state; otherwise, false.
See Also
MvcControl Class
Microsoft.Web.Mvc.Controls Namespace
Return to top