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 Control.FocusModeEnum FocusMode { get; set; }

    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

    public int GetTicks()

Getter for TickCount

    public bool GetTicksOnBorders()

Getter for TicksOnBorders

    public bool IsEditable()

Getter for Editable

    public bool IsScrollable()

Getter for Scrollable

    public void SetEditable(bool editable)

Setter for Editable

    public void SetScrollable(bool scrollable)

Setter for Scrollable

    public void SetTicks(int count)

Setter for TickCount

    public void SetTicksOnBorders(bool ticksOnBorder)

Setter for TicksOnBorders

Tags: