ITrackingPersonalizable.TracksChanges Property

Note: This property is new in the .NET Framework version 2.0.

Indicates whether the control tracks the status of its changes.

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

bool TracksChanges { get; }
/** @property */
boolean get_TracksChanges ()

function get TracksChanges () : boolean

Property Value

true if the Web Parts control is responsible for determining when the control is considered changed ("dirty"); otherwise, false.

If a control returns true from this property, then it is the Web Parts control's responsibility to determine when it considers itself "dirty." If a control determines that it has changed (is "dirty"), that control must call SetPersonalizationDirty on itself.

The following code example demonstrates setting the TracksChanges property. For a complete, working code example that consists of a control and an .aspx page, see the ITrackingPersonalizable class overview topic.

bool ITrackingPersonalizable.TracksChanges
        return true;

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0