TickBar::IsSelectionRangeEnabled Property

 

Gets or sets whether the TickBar displays a selection range.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
[BindableAttribute(true)]
property bool IsSelectionRangeEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

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

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

.NET Framework
Available since 3.0
Return to top
Show: