TickPlacement TickPlacement TickPlacement Enum

Defines constants that specify the position of tick marks in a Slider in relation to the track that the control implements.

Syntax

Declaration

public enum TickPlacementpublic enum TickPlacementPublic Enum TickPlacement

Remarks

Examples

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

Fields

BottomRight
BottomRight
BottomRight
BottomRight

Tick marks appear below the track for a horizontal Slider, or to the right of the track for a vertical Slider.

Inline
Inline
Inline
Inline

Tick marks appear directly on the track.

None
None
None
None

No tick marks appear.

Outside
Outside
Outside
Outside

Tick marks appear on both sides of either a horizontal or vertical track.

TopLeft
TopLeft
TopLeft
TopLeft

Tick marks appear above the track for a horizontal Slider, or to the left of the track for a vertical Slider.

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