Enumeration

TickStyles


Warning

This item was deprecated in version 2019r2. Please use Slider.TickMarkStyles as a replacement.

Description

Used to set the TickStyle property of a Slider control.

Notes

Values

The TickStyles enum has the following values:

Value

Constant

0

None

1

TopLeft

2

BottomRight

The value of TopLeft places tick marks above a horizontal Slider and to the left of a vertical Slider. The value of BottomRight places the tick marks below a horizontal Slider and to the right of a vertical one. TickStyle is a design-time only property of a Slider.

Sample code

This example is in the Open event of the Slider. It sets the TickStyle to Bottom Right.

Me.TickStyle = Slider.TickStyles.BottomRight

Compatibility

All project types on all supported operating systems.

See also

Slider control.