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.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadSlider : RadSliderBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadSliderBaseRadSlider

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadSliderBase.ControlTemplatePropertyRadSliderBase.MinimumPropertyRadSliderBase.MaximumPropertyRadSliderBase.TickStepPropertyRadSliderBase.LabelStepPropertyRadSliderBase.StringFormatPropertyRadSliderBase.StringConverterPropertyRadSliderBase.BackTrackThicknessPropertyRadSliderBase.BackTrackStylePropertyRadSliderBase.TicksPlacementPropertyRadSliderBase.InRangeTickColorPropertyRadSliderBase.OutOfRangeTickColorPropertyRadSliderBase.TickLengthPropertyRadSliderBase.TickThicknessPropertyRadSliderBase.InRangeTickStylePropertyRadSliderBase.OutOfRangeTickStylePropertyRadSliderBase.TickStyleSelectorPropertyRadSliderBase.TickTemplatePropertyRadSliderBase.LabelsPlacementPropertyRadSliderBase.TextColorPropertyRadSliderBase.FontFamilyPropertyRadSliderBase.FontSizePropertyRadSliderBase.LabelStylePropertyRadSliderBase.LabelStyleSelectorPropertyRadSliderBase.LabelTemplatePropertyRadSliderBase.SnapModePropertyRadSliderBase.TickOriginPropertyRadSliderBase.BackTrackExtentPropertyRadSliderBase.BackTrackColorPropertyRadSliderBase.RangeTrackFillPropertyRadSliderBase.RangeTrackStylePropertyRadSliderBase.ActualBackTrackStylePropertyRadSliderBase.ActualRangeTrackStylePropertyRadSliderBase.TooltipStringFormatPropertyRadSliderBase.TooltipContentTemplatePropertyRadSliderBase.TooltipControlTemplatePropertyRadSliderBase.OnApplyTemplate()RadSliderBase.MeasureOverride(double, double)RadSliderBase.ArrangeOverride(Rect)RadSliderBase.ChangeVisualState()RadSliderBase.ControlTemplateRadSliderBase.MinimumRadSliderBase.MaximumRadSliderBase.TickStepRadSliderBase.LabelStepRadSliderBase.StringFormatRadSliderBase.StringConverterRadSliderBase.BackTrackThicknessRadSliderBase.BackTrackStyleRadSliderBase.ActualBackTrackStyleRadSliderBase.TicksPlacementRadSliderBase.InRangeTickColorRadSliderBase.OutOfRangeTickColorRadSliderBase.TickLengthRadSliderBase.TickThicknessRadSliderBase.InRangeTickStyleRadSliderBase.OutOfRangeTickStyleRadSliderBase.TickStyleSelectorRadSliderBase.TickTemplateRadSliderBase.LabelsPlacementRadSliderBase.TextColorRadSliderBase.FontFamilyRadSliderBase.FontSizeRadSliderBase.LabelStyleRadSliderBase.LabelStyleSelectorRadSliderBase.LabelTemplateRadSliderBase.SnapModeRadSliderBase.TickOriginRadSliderBase.BackTrackExtentRadSliderBase.BackTrackColorRadSliderBase.RangeTrackFillRadSliderBase.RangeTrackStyleRadSliderBase.ActualRangeTrackStyleRadSliderBase.TooltipStringFormatRadSliderBase.TooltipContentTemplateRadSliderBase.TooltipControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

RadSlider()

Initalizes a new instance of the class.

Declaration

cs-api-definition
public RadSlider()

Fields

ActualThumbStyleProperty

Identifies the ActualThumbStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualThumbStyleProperty

Field Value

BindableProperty

DragModeProperty

Identifies the DragMode property.

Declaration

cs-api-definition
public static readonly BindableProperty DragModeProperty

Field Value

BindableProperty

OriginValueProperty

Identifies the OriginValue property.

Declaration

cs-api-definition
public static readonly BindableProperty OriginValueProperty

Field Value

BindableProperty

ThumbFillProperty

Identifies the ThumbFill property.

Declaration

cs-api-definition
public static readonly BindableProperty ThumbFillProperty

Field Value

BindableProperty

ThumbStyleProperty

Identifies the ThumbStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ThumbStyleProperty

Field Value

BindableProperty

ValueProperty

Identifies the Value property.

Declaration

cs-api-definition
public static readonly BindableProperty ValueProperty

Field Value

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

cs-api-definition
public Style ActualThumbStyle { get; }

Property Value

Style

DragMode

Gets or sets the mode that defines the possible ways to interact and change the Value.

Declaration

cs-api-definition
public SliderDragMode DragMode { get; set; }

Property Value

SliderDragMode

OriginValue

Gets or sets the origin value, i.e. where the range track starts.

Declaration

cs-api-definition
public double OriginValue { get; set; }

Property Value

double

ThumbFill

Gets or sets the custom color that is to be applied to the thumb.

Declaration

cs-api-definition
public Color ThumbFill { get; set; }

Property Value

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

cs-api-definition
public Style ThumbStyle { get; set; }

Property Value

Style

Value

Gets or sets the value of the slider.

Declaration

cs-api-definition
public double Value { get; set; }

Property Value

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

cs-api-definition
public event EventHandler<ValueChangingEventArgs> ValueChanging

Event Value

EventHandler<ValueChangingEventArgs>