ViewState Property

Style.ViewState Property


This API supports the product 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)

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
Available since 1.1
Return to top
© 2016 Microsoft