RadSlider
Represents a slider control that displays a value in a given min-max range. The end user can change the value by dragging the thumb. This control can display ticks and labels for clarity of what the underlying min-max range is, and can display tooltips for clarity of what the value is.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadSlider : RadSliderBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadSliderBaseRadSlider
Implements:
Inherited Members
Constructors
Initalizes a new instance of the class.
public RadSlider()
Fields
ActualThumbStyleProperty
BindableProperty
Identifies the ActualThumbStyle property.
public static readonly BindableProperty ActualThumbStyleProperty
DragModeProperty
BindableProperty
Identifies the DragMode property.
public static readonly BindableProperty DragModeProperty
OriginValueProperty
BindableProperty
Identifies the OriginValue property.
public static readonly BindableProperty OriginValueProperty
ThumbFillProperty
BindableProperty
Identifies the ThumbFill property.
public static readonly BindableProperty ThumbFillProperty
ThumbStyleProperty
BindableProperty
Identifies the ThumbStyle property.
public static readonly BindableProperty ThumbStyleProperty
ValueProperty
BindableProperty
Identifies the Value property.
public static readonly BindableProperty ValueProperty
Properties
ActualThumbStyle
Style
Gets or sets the actual style that will be applied to the slider thumb. This is a merger of the custom ThumbStyle and the default style.
public Style ActualThumbStyle { get; }
Gets or sets the mode that defines the possible ways to interact and change the Value.
public SliderDragMode DragMode { get; set; }
Gets or sets the origin value, i.e. where the range track starts.
public double OriginValue { get; set; }
ThumbFill
Color
Gets or sets the custom color that is to be applied to the thumb.
public Color ThumbFill { get; set; }
ThumbStyle
Style
Gets or sets the custom style that is to be applied to the slider thumb. This style is merged with the default style and the resulting merged style is set to the ActualThumbStyle property, and this is the style that is actually applied to the element.
public Style ThumbStyle { get; set; }
Events
ValueChanging
EventHandler<ValueChangingEventArgs>
An event that is raise when the end-user drags the thumb. This event allows for plugging in custom logic by changing the Value property.
public event EventHandler<ValueChangingEventArgs> ValueChanging