編輯

共用方式為


Style.IsTrackingViewState Property

Definition

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

protected:
 property bool IsTrackingViewState { bool get(); };
protected bool IsTrackingViewState { get; }
member this.IsTrackingViewState : bool
Protected ReadOnly Property IsTrackingViewState As Boolean

Property Value

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

Implements

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.

Applies to