Share via


SliderSnapsTo Enum

Definition

Defines constants that specify how a Slider or related range control class conforms the indicator position to its steps or tick marks.

public enum class SliderSnapsTo
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class SliderSnapsTo
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum SliderSnapsTo
Public Enum SliderSnapsTo
<objectproperty="enumMemberName" />
Inheritance
SliderSnapsTo
Attributes

Fields

Name Value Description
StepValues 0

Conform the indicator to the step values.

Ticks 1

Conform the indicator to the tick marks.

Examples

<Slider TickPlacement="Inline"
        TickFrequency="20"
        SnapsTo="Ticks"/>

Applies to

See also