SliderSnapsTo SliderSnapsTo SliderSnapsTo Enum

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

Syntax

Declaration

public enum SliderSnapsTopublic enum SliderSnapsToPublic Enum SliderSnapsTo
<objectproperty="enumMemberName" />

Remarks

Examples

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

Fields

StepValues
StepValues
StepValues
StepValues

Conform the indicator to the step values.

Ticks
Ticks
Ticks
Ticks

Conform the indicator to the tick marks.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll