allowsTickMarkValuesOnly
A Boolean value indicating whether the receiver fixes its values to those values represented by its tick marks.
Declaration
var allowsTickMarkValuesOnly: Bool { get set }Discussion
The value of this property is true if the slider’s values are limited to those values represented by tick marks; otherwise, false. For example, if you specify true for a slider that has a minimum value of 0, a maximum value of 100, and five markers, the allowable values are 0, 25, 50, 75, and 100. When users move the slider’s knob, it jumps to the tick mark nearest the pointer when the mouse button is released. Setting this property has no effect if the slider has no tick marks.