Style.ViewState Property


Gets the state bag that holds the style elements.

protected public:
 property System::Web::UI::StateBag ^ ViewState { System::Web::UI::StateBag ^ get(); };
protected internal System.Web.UI.StateBag ViewState { get; }
member this.ViewState : System.Web.UI.StateBag
Protected Friend ReadOnly Property ViewState As StateBag

Property Value

A state bag that holds the style elements defined in it.



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

Applies to