Share via


TickPlacement Enum

Definition

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

public enum class TickPlacement
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class TickPlacement
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum TickPlacement
Public Enum TickPlacement
Inheritance
TickPlacement
Attributes

Fields

Name Value Description
None 0

No tick marks appear.

TopLeft 1

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

BottomRight 2

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

Outside 3

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

Inline 4

Tick marks appear directly on the track.

Examples

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

Applies to

See also