편집

다음을 통해 공유


TickBar.IsSelectionRangeEnabled Property

Definition

Gets or sets whether the TickBar displays a selection range.

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

Property Value

true if a selection range is displayed; otherwise, false. The default value is false.

Attributes

Remarks

The SelectionStart and SelectionEnd properties define a selection range. These properties must be set for the selection range to appear when IsSelectionRangeEnabled is set to true.

The following illustration shows a Slider control that contains a TickBar that has a selection range defined.

Slider selection range

Dependency Property Information

Identifier field IsSelectionRangeEnabledProperty
Metadata properties set to true AffectsRender

Applies to

See also