SelectionStart Property

Slider.SelectionStart Property


Gets or sets the smallest value of a specified selection for a Slider.

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

public double SelectionStart { get; set; }

Property Value

Type: System.Double

The largest value of a selected range of values of a Slider. The default is zero (0.0).

The value of the SelectionStart property cannot be less than the value of the Minimum property and cannot be greater than the value of the Maximum property. The value of the SelectionEnd property must also be greater than or equal to the value of the SelectionStart property. If SelectionStart is less than Minimum or greater than Maximum, SelectionStart is set to the value of Minimum or Maximum respectively.

The following example shows how to set the SelectionEnd property.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft