TickBarPlacement Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class TickBarPlacement
public enum TickBarPlacement
type TickBarPlacement =
Public Enum TickBarPlacement
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Left | 0 | The tick bar is positioned to the left of the Track of the Slider. |
Top | 1 | |
Right | 2 | The tick bar is positioned to the right of the Track of the Slider. |
Bottom | 3 |
Examples
For an example of a TickBarPlacement
that is included in the Style of a Slider, see Slider Styles and Templates.
Remarks
The TickBarPlacement
enumeration is used to set the TickBar.Placement property. The actual position of a TickBar is defined by the ControlTemplate of a Slider control. The Placement property identifies this position so that the ticks of a TickBar are drawn correctly. The following illustration shows how TickBar controls are drawn when the Placement property is set to Top
and Bottom
.