Class SliderScale
Represents a UI control for displaying a slider scale with ticks and labels.
public class SliderScale : Spacer, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo
- Inheritance
-
SliderScale
- Implements
Remarks
The SliderScale class provides functionality for rendering a slider scale. It is intended to be used as part of a Container and can be customized or extended as needed.
Constructors
- SliderScale()
Initializes a new instance of the SliderScale class.
Fields
- DefaultTickSize
Gets or sets the default tick size for the slider scale.
Properties
- Container
Gets the container that holds the slider scale. In the default implementation, this property returns the parent control that implements the ISliderScaleContainer interface.
- IsHorizontal
Gets a value indicating whether the slider's orientation is horizontal.
- IsVertical
Gets a value indicating whether the slider's orientation is horizontal.
- Maximum
Gets the maximum value that the slider can represent.
- Minimum
Gets the minimum value of the slider.
- Orientation
Gets the orientation of the slider.
- TickFrequency
Gets the frequency of ticks on the slider scale.
- Value
Gets the current value of the slider.
Methods
- DefaultPaint(PaintEventArgs)
Default painting method of the GenericControl and its descendants.