Edit

Share via


DataGridColumn.SaveViewState Method

Definition

Saves the current state of the DataGridColumn object.

protected:
 virtual System::Object ^ SaveViewState();
protected virtual object SaveViewState ();
abstract member SaveViewState : unit -> obj
override this.SaveViewState : unit -> obj
Protected Overridable Function SaveViewState () As Object

Returns

An Object that contains the saved state of the DataGridColumn.

Remarks

Use the SaveViewState method to save the state of the DataGridColumn object. This allows a column to perform custom view-state management.

Applies to

See also