DataGridColumn.ViewState Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected StateBag ViewState { get; }

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.

.NET Framework
Available since 1.1
Return to top
Show: