Export (0) Print
Expand All

Style.ViewState Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the state bag that holds the style elements.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
protected internal StateBag ViewState { get; }

Property Value

Type: System.Web.UI.StateBag
A state bag that holds the style elements defined in it.

The private field name for the state bag is case sensitive.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft