語言

TickBar.IsSelectionRangeEnabled 屬性

定義

取得或設定顯示 TickBar 的選擇範圍。

public:
 property bool IsSelectionRangeEnabled { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsSelectionRangeEnabled { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsSelectionRangeEnabled : bool with get, set
Public Property IsSelectionRangeEnabled As Boolean

屬性值

true如果顯示選取範圍;否則,。 false 預設值為 false。

屬性

備註

與SelectionStart性質SelectionEnd定義了一個選擇範圍。 這些屬性必須設定,當 設定IsSelectionRangeEnabled為 時,選擇範圍才會出現true。

下圖展示了 Slider 一個控制項,包含 TickBar 定義了選擇範圍的 。

滑桿選擇範圍 滑

相依財產資訊

Item 價值觀
識別碼欄位 IsSelectionRangeEnabledProperty
元資料屬性設為 true AffectsRender

適用於

另請參閱