Editar

Compartir vía


TreeView.TrackViewState Method

Definition

Tracks view-state changes to the TreeView control so that they can be stored in the StateBag object for the control. This StateBag is accessible through the ViewState property.

protected:
 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub TrackViewState ()

Remarks

The TrackViewState method is overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the control.

Applies to

See also