Base class for GUI sliders.
    public abstract class Slider : Range

Base class for GUI sliders.

Inheritance Chain

Derived Classes

Properties

    public bool Editable { get; set; }

If true, the slider can be interacted with. If false, the value can be changed only by code.

    public bool Scrollable { get; set; }

If true, the value can be changed using the mouse wheel.

    public int TickCount { get; set; }

Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.

    public bool TicksOnBorders { get; set; }

If true, the slider will display ticks for minimum and maximum values.

Methods

    [Obsolete("GetTicks is deprecated. Use the TickCount property instead.")]
    public int GetTicks()

Getter for TickCount

    [Obsolete("GetTicksOnBorders is deprecated. Use the TicksOnBorders property instead.")]
    public bool GetTicksOnBorders()

Getter for TicksOnBorders

    [Obsolete("IsEditable is deprecated. Use the Editable property instead.")]
    public bool IsEditable()

Getter for Editable

    [Obsolete("IsScrollable is deprecated. Use the Scrollable property instead.")]
    public bool IsScrollable()

Getter for Scrollable

    [Obsolete("SetEditable is deprecated. Use the Editable property instead.")]
    public void SetEditable(bool editable)

Setter for Editable

    [Obsolete("SetScrollable is deprecated. Use the Scrollable property instead.")]
    public void SetScrollable(bool scrollable)

Setter for Scrollable

    [Obsolete("SetTicks is deprecated. Use the TickCount property instead.")]
    public void SetTicks(int count)

Setter for TickCount

    [Obsolete("SetTicksOnBorders is deprecated. Use the TicksOnBorders property instead.")]
    public void SetTicksOnBorders(bool ticksOnBorder)

Setter for TicksOnBorders

Tags: