Specifies the position of tick marks in a Slider control with respect to the Track that the control implements.
public enum TickPlacement
<object property="enumerationMemberName" .../>
|Both||Tick marks appear above and below the Track bar for a horizontal Slider, or to the left and right of the Track for a vertical Slider.|
|BottomRight||Tick marks appear below the Track for a horizontal Slider, or to the right of the Track for a vertical Slider. |
|None||No tick marks appear. |
|TopLeft||Tick marks appear above the Track for a horizontal Slider, or to the left of the Track for a vertical Slider. |
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.
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"
Ticks="0, 1.1, 2.5, 3"/>
Supported in: 4.6, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1