IStateManager.IsTrackingViewState Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When implemented by a class, gets a value indicating whether a server control is tracking its view state changes.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

bool IsTrackingViewState { get; }

Property Value

Type: System.Boolean

true if a server control is tracking its view state changes; otherwise, false.

// Implement the IsTrackingViewState method for this class 
// by calling the IsTrackingViewState method of the class's
// private _viewstate property. 
bool IStateManager.IsTrackingViewState
        return ((IStateManager)_viewstate).IsTrackingViewState;

.NET Framework
Available since 1.1
Return to top