Instance Property

isVertical

An integer indicating the orientation (horizontal or vertical) of the slider.

Declaration

var isVertical: Bool { get set }

Discussion

The value of this property is 1 if the receiver is vertical, 0 if it’s horizontal, and -1 if the orientation can’t be determined (for example, if the slider hasn’t been displayed yet). A slider is defined as vertical if its height is greater than its width.

See Also

Managing the Slider’s Appearance

var sliderType: NSSlider.SliderType

The type of the slider, such as vertical or circular.

var altIncrementValue: Double

The amount by which the receiver changes its value when the user Option-drags the slider knob.

var knobThickness: CGFloat

The knob’s thickness, in pixels.