Slider.SnapsTo Property

Definition

Gets or sets a value that indicates how the Slider conforms the thumb position to its steps or tick marks.

C#
public SliderSnapsTo SnapsTo { get; set; }
XAML
<Slider SnapsTo="sliderSnapsToMemberName" />

Property Value

An enumeration value that specifies whether the Slider snaps to steps or tick marks. The default is StepValues.

Remarks

Set the SnapsTo property to specify whether the Slider snaps to tick marks or step values. Set the TickFrequency or StepFrequency property to specify the interval between snap points.

Applies to

Продукт Версії
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also