Class 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.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadSlider : RadSliderBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding
Constructors
RadSlider()
Initalizes a new instance of the class.
Declaration
public RadSlider()
Fields
ActualThumbStyleProperty
Identifies the ActualThumbStyle property.
Declaration
public static readonly BindableProperty ActualThumbStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DragModeProperty
Identifies the DragMode property.
Declaration
public static readonly BindableProperty DragModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OriginValueProperty
Identifies the OriginValue property.
Declaration
public static readonly BindableProperty OriginValueProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ThumbFillProperty
Identifies the ThumbFill property.
Declaration
public static readonly BindableProperty ThumbFillProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ThumbStyleProperty
Identifies the ThumbStyle property.
Declaration
public static readonly BindableProperty ThumbStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ValueProperty
Identifies the Value property.
Declaration
public static readonly BindableProperty ValueProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ActualThumbStyle
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.
Declaration
public Style ActualThumbStyle { get; }
Property Value
Microsoft.Maui.Controls.Style
|
DragMode
Gets or sets the mode that defines the possible ways to interact and change the Value.
Declaration
public SliderDragMode DragMode { get; set; }
Property Value
SliderDragMode
|
OriginValue
Gets or sets the origin value, i.e. where the range track starts.
Declaration
public double OriginValue { get; set; }
Property Value
System.Double
|
ThumbFill
Gets or sets the custom color that is to be applied to the thumb.
Declaration
public Color ThumbFill { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
ThumbStyle
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.
Declaration
public Style ThumbStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
Value
Gets or sets the value of the slider.
Declaration
public double Value { get; set; }
Property Value
System.Double
|
Events
ValueChanging
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.
Declaration
public event EventHandler<ValueChangingEventArgs> ValueChanging
Event Type
System.EventHandler<ValueChangingEventArgs>
|