This documentation is archived and is not being maintained.

DataGridColumn.ViewState Property

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

[Visual Basic]
Protected ReadOnly Property ViewState As StateBag
[C#]
protected StateBag ViewState {get;}
[C++]
protected: __property StateBag* get_ViewState();
[JScript]
protected function get ViewState() : StateBag;

Property Value

The System.Web.UI.StateBag for the DataGridColumn.

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataGridColumn Class | DataGridColumn Members | System.Web.UI.WebControls Namespace | System.Web.UI.StateBag

Show: