Style.IsTrackingViewState 屬性

定義

傳回值,指出是否任何的樣式項目都已經在狀態包中定義。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

屬性值

如果有樣式項目在狀態包中定義,則為 true,否則為 falsetrue if there are style elements defined in the state bag; otherwise, false.

實作

備註

IsTrackingViewState使用屬性來判斷是否已在狀態包中定義任何樣式元素。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.

適用於