Table of Contents

Interface ISliderScaleContainer

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Defines a contract for objects that provide slider-related data to visual components responsible for displaying tick marks, labels, and scale guides.

public interface ISliderScaleContainer

Properties

IsEnabled

Gets whether the slider scale is enabled.

IsFirstTickVisible

Gets whether the first tick mark is visible on the slider scale.

IsLastTickVisible

Gets whether the last tick mark is visible on the slider scale.

Maximum

Gets the maximum value that can be selected by the slider. This defines the upper bound of the slider’s value range.

Minimum

Gets the minimum value that can be selected by the slider. This defines the lower bound of the slider’s value range.

Orientation

Gets the orientation of the slider, indicating whether it is rendered horizontally or vertically.

ThumbSize

Gets the size of the thumb control.

TickFrequency

Gets the interval between ticks rendered along the slider’s scale. For example, a value of 5 means ticks appear at every fifth value between Minimum and Maximum.

Value

Gets the current value selected by the slider.

Methods

ScaleValueToPosition(int)

Scales a position value to a coordinate on the slider scale.