This documentation is archived and is not being maintained.

Style.IsTrackingViewState Property

Returns a value indicating whether any style elements have been defined in the state bag.

[Visual Basic]
Protected ReadOnly Property IsTrackingViewState As Boolean
[C#]
protected bool IsTrackingViewState {get;}
[C++]
protected: __property bool get_IsTrackingViewState();
[JScript]
protected function get IsTrackingViewState() : Boolean;

Property Value

true if there are style elements defined in the state bag; otherwise, false.

Remarks

Use the IsTrackingViewState property to determine whether any style elements have been defined in the state bag. This property is primarily used by control developers.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Style Class | Style Members | System.Web.UI.WebControls Namespace

Show: