-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Slider.SnapsTo |
winrt property |
Gets or sets a value that indicates how the Slider conforms the thumb position to its steps or tick marks.
<Slider SnapsTo="sliderSnapsToMemberName" />
An enumeration value that specifies whether the Slider snaps to steps or tick marks. The default is StepValues.
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.