DataGridColumn.ViewState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.