Uredi

Deli z drugimi prek


DataGridColumn.ViewState Property

Definition

Gets the StateBag object that allows a column derived from the DataGridColumn class to store its properties.

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

Property Value

The StateBag for the DataGridColumn.

Remarks

Use the ViewState property to retrieve the System.Web.UI.StateBag object that allows a column derived from the DataGridColumn class to store its properties. The state of each property is automatically managed.

Applies to

See also