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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for