Edit

Share via


ModelDataSource.TrackViewState Method

Definition

Tracks view-state changes to the control so that they can be stored in the StateBag object.

protected:
 virtual void TrackViewState();
protected virtual void TrackViewState ();
abstract member TrackViewState : unit -> unit
override this.TrackViewState : unit -> unit
Protected Overridable Sub TrackViewState ()

Remarks

This method can be overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the object.

Applies to