TickStyle Enumeration

 

Specifies the location of tick marks in a TrackBar control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum TickStyle

Member nameDescription
Both

Tick marks are located on both sides of the control.

BottomRight

Tick marks are located on the bottom of a horizontal control or on the right side of a vertical control.

None

No tick marks appear in the control.

TopLeft

Tick marks are located on the top of a horizontal control or on the left of a vertical control.

Use the members of this enumeration to set the value of the TickStyle property of the TrackBar control.

.NET Framework
Available since 1.1
Return to top
Show: