Specifies the position of tick marks in a
control with respect to the Slider that the control implements. Track
public enum class TickPlacement
< object property = " enumerationMemberName " ... />
Member name Description Both Tick marks appear above and below the bar for a horizontal Track , or to the left and right of the Slider for a vertical Track . Slider BottomRight Tick marks appear below the for a horizontal Track , or to the right of the Slider for a vertical Track . Slider None No tick marks appear. TopLeft Tick marks appear above the for a horizontal Track , or to the left of the Slider for a vertical Track . Slider
enumeration is used to set the TickPlacement property of a TickPlacement . Slider
The following illustration shows a
that has tick marks that are located below the Slider . In this example, the Track property is set to TickPlacement . BottomRight Slider Example
The following example shows how to set the
property for a TickPlacement control. Slider
< 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 " />
More Code .NET Framework
Supported in: 4.5.1, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
( 1500 characters remaining)
Thank you for your feedback