TickPlacement Enumeration
.NET Framework (current version)
Specifies the position of tick marks in a Slider control with respect to the Track that the control implements.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| Both | ||
| BottomRight | ||
| None | No tick marks appear. | |
| TopLeft |
The TickPlacement enumeration is used to set the TickPlacement property of a Slider.
The following illustration shows a Slider that has tick marks that are located below the Track. In this example, the TickPlacement property is set to BottomRight.
Slider Example

The following example shows how to set the TickPlacement property for a Slider control.
<Slider Width="100" Value="50" Orientation="Horizontal" HorizontalAlignment="Left" IsSnapToTickEnabled="True" Maximum="3" TickPlacement="BottomRight" AutoToolTipPlacement="BottomRight" AutoToolTipPrecision="2" Ticks="0, 1.1, 2.5, 3"/>
.NET Framework
Available since 3.0
Available since 3.0
Show: