DataKey.IsTrackingViewState Property

 
System_CAPS_noteNote

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

Gets a value indicating whether the DataKey object is tracking its view-state changes.

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

protected virtual bool IsTrackingViewState { get; }

Property Value

Type: System.Boolean

true to indicate that the DataKey is tracking its view-state changes; otherwise, false.

The IsTrackingViewState property is used to determine whether the DataKey object is tracking its view-state changes.

System_CAPS_noteNote

This property is used primarily by control developers.

Notes to Inheritors:

When extending the DataKey class, you can override this property to indicate whether view-state changes are tracked.

.NET Framework
Available since 2.0
Return to top
Show: