TickBarPlacement TickBarPlacement TickBarPlacement TickBarPlacement Enum

Definition

Specifies the placement of a TickBar with respect to the Track of a Slider control.

public enum class TickBarPlacement
public enum TickBarPlacement
type TickBarPlacement = 
Public Enum TickBarPlacement
Inheritance
TickBarPlacementTickBarPlacementTickBarPlacementTickBarPlacement

Fields

Bottom Bottom Bottom Bottom 3

The tick bar is positioned below the Track of the Slider.

Left Left Left Left 0

The tick bar is positioned to the left of the Track of the Slider.

Right Right Right Right 2

The tick bar is positioned to the right of the Track of the Slider.

Top Top Top Top 1

The tick bar is positioned above the Track of the Slider.

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.

TickBar placement

Applies to

See also