Class
RadSliderBase

Represents a slider control.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

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

Inheritance: objectRadContentViewRadSliderBase

Derived Classes: RadRangeSliderRadSlider

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

RadSliderBase()

Initalizes a new instance of the class.

Declaration

cs-api-definition
public RadSliderBase()

Fields

ActualBackTrackStyleProperty

Identifies the ActualBackTrackStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualBackTrackStyleProperty

Field Value

BindableProperty

ActualRangeTrackStyleProperty

Identifies the ActualRangeTrackStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualRangeTrackStyleProperty

Field Value

BindableProperty

BackTrackColorProperty

Identifies the BackTrackColor property.

Declaration

cs-api-definition
public static readonly BindableProperty BackTrackColorProperty

Field Value

BindableProperty

BackTrackExtentProperty

Identifies the BackTrackExtent property.

Declaration

cs-api-definition
public static readonly BindableProperty BackTrackExtentProperty

Field Value

BindableProperty

BackTrackStyleProperty

Identifies the BackTrackStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty BackTrackStyleProperty

Field Value

BindableProperty

BackTrackThicknessProperty

Identifies the BackTrackThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty BackTrackThicknessProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

InRangeTickColorProperty

Identifies the InRangeTickColor property.

Declaration

cs-api-definition
public static readonly BindableProperty InRangeTickColorProperty

Field Value

BindableProperty

InRangeTickStyleProperty

Identifies the InRangeTickStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty InRangeTickStyleProperty

Field Value

BindableProperty

LabelStepProperty

Identifies the LabelStep property.

Declaration

cs-api-definition
public static readonly BindableProperty LabelStepProperty

Field Value

BindableProperty

LabelStyleProperty

Identifies the LabelStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty LabelStyleProperty

Field Value

BindableProperty

LabelStyleSelectorProperty

Identifies the LabelStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty LabelStyleSelectorProperty

Field Value

BindableProperty

LabelTemplateProperty

Identifies the LabelTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty LabelTemplateProperty

Field Value

BindableProperty

LabelsPlacementProperty

Identifies the LabelsPlacement property.

Declaration

cs-api-definition
public static readonly BindableProperty LabelsPlacementProperty

Field Value

BindableProperty

MaximumProperty

Identifies the Maximum property.

Declaration

cs-api-definition
public static readonly BindableProperty MaximumProperty

Field Value

BindableProperty

MinimumProperty

Identifies the Minimum property.

Declaration

cs-api-definition
public static readonly BindableProperty MinimumProperty

Field Value

BindableProperty

OutOfRangeTickColorProperty

Identifies the OutOfRangeTickColor property.

Declaration

cs-api-definition
public static readonly BindableProperty OutOfRangeTickColorProperty

Field Value

BindableProperty

OutOfRangeTickStyleProperty

Identifies the OutOfRangeTickStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty OutOfRangeTickStyleProperty

Field Value

BindableProperty

RangeTrackFillProperty

Identifies the RangeTrackFill property.

Declaration

cs-api-definition
public static readonly BindableProperty RangeTrackFillProperty

Field Value

BindableProperty

RangeTrackStyleProperty

Identifies the RangeTrackStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty RangeTrackStyleProperty

Field Value

BindableProperty

SnapModeProperty

Identifies the SnapMode property.

Declaration

cs-api-definition
public static readonly BindableProperty SnapModeProperty

Field Value

BindableProperty

StringConverterProperty

Identifies the StringConverter property.

Declaration

cs-api-definition
public static readonly BindableProperty StringConverterProperty

Field Value

BindableProperty

StringFormatProperty

Identifies the StringFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty StringFormatProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TickLengthProperty

Identifies the TickLength property.

Declaration

cs-api-definition
public static readonly BindableProperty TickLengthProperty

Field Value

BindableProperty

TickOriginProperty

Identifies the TickOrigin property.

Declaration

cs-api-definition
public static readonly BindableProperty TickOriginProperty

Field Value

BindableProperty

TickStepProperty

Identifies the TickStep property.

Declaration

cs-api-definition
public static readonly BindableProperty TickStepProperty

Field Value

BindableProperty

TickStyleSelectorProperty

Identifies the TickStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty TickStyleSelectorProperty

Field Value

BindableProperty

TickTemplateProperty

Identifies the TickTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty TickTemplateProperty

Field Value

BindableProperty

TickThicknessProperty

Identifies the TickThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty TickThicknessProperty

Field Value

BindableProperty

TicksPlacementProperty

Identifies the TicksPlacement property.

Declaration

cs-api-definition
public static readonly BindableProperty TicksPlacementProperty

Field Value

BindableProperty

TooltipContentTemplateProperty

Identifies the TooltipContentTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty TooltipContentTemplateProperty

Field Value

BindableProperty

TooltipControlTemplateProperty

Identifies the TooltipControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty TooltipControlTemplateProperty

Field Value

BindableProperty

TooltipStringFormatProperty

Identifies the TooltipStringFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty TooltipStringFormatProperty

Field Value

BindableProperty

Properties

ActualBackTrackStyle

Gets or sets the actual style that will be applied to the back-track. This is a merger of the custom BackTrackStyle and the default style.

Declaration

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

Property Value

Style

ActualRangeTrackStyle

Gets or sets the actual style that will be applied to the range track. This is a merger of the custom RangeTrackStyle and the default style.

Declaration

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

Property Value

Style

BackTrackColor

Gets or sets the custom color that is to be applied to the back-track.

Declaration

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

Property Value

Color

BackTrackExtent

Gets or sets the value that defines the pixel length that the back-track extends beyond the min and the max values.

Declaration

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

Property Value

double

BackTrackStyle

Gets or sets the custom style that is to be applied to the back-track.

Declaration

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

Property Value

Style

BackTrackThickness

Gets or sets the custom thickness that is to be applied to the back-track.

Declaration

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

Property Value

double

ControlTemplate

Gets or sets the template that defines the visual appearance of the view.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

FontFamily

Gets or sets the custom font family that is to be applied to the labels.

Declaration

cs-api-definition
public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the custom font size that is to be applied to the labels.

Declaration

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

Property Value

double

InRangeTickColor

Gets or sets the custom color that is to be applied to the ticks that are within the start-end range.

Declaration

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

Property Value

Color

InRangeTickStyle

Gets or sets the custom style of the ticks that are within the start-end range.

Declaration

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

Property Value

Style

LabelStep

Gets or sets the value that is used to calculate at what positions/values should be displayed labels.

Declaration

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

Property Value

double

LabelStyle

Gets or sets the custom style of the labels.

Declaration

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

Property Value

Style

LabelStyleSelector

Gets or sets an object that can select different styles for different labels.

Declaration

cs-api-definition
public IStyleSelector LabelStyleSelector { get; set; }

Property Value

IStyleSelector

LabelTemplate

Gets or sets the template or template-selector that is used for creating label visuals.

Declaration

cs-api-definition
public DataTemplate LabelTemplate { get; set; }

Property Value

DataTemplate

LabelsPlacement

Gets or sets the placement of the labels.

Declaration

cs-api-definition
public SliderLabelsPlacement LabelsPlacement { get; set; }

Property Value

SliderLabelsPlacement

Maximum

Gets or sets the maximum value.

Declaration

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

Property Value

double

Minimum

Gets or sets the minimum value.

Declaration

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

Property Value

double

OutOfRangeTickColor

Gets or sets the custom color that is to be applied to the ticks that are outside of the start-end range.

Declaration

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

Property Value

Color

OutOfRangeTickStyle

Gets or sets the custom style of the ticks that are outside of the start-end range.

Declaration

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

Property Value

Style

RangeTrackFill

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

Declaration

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

Property Value

Color

RangeTrackStyle

Gets or sets the custom style that is to be applied to the range track. This style is merged with the default style and the resulting merged style is set to the ActualRangeTrackStyle property, and this is the style that is actually applied to the element.

Declaration

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

Property Value

Style

SnapMode

Gets or sets a value indicating whether and how a value should be snapped to a tick while the end-user is dragging a thumb or the range track (the part between the start and end thumbs).

Declaration

cs-api-definition
public SliderSnapMode SnapMode { get; set; }

Property Value

SliderSnapMode

StringConverter

Gets or sets the custom string converter that can be used to define the content of a label or a tooltip for a given slider value.

Declaration

cs-api-definition
public IStringConverter StringConverter { get; set; }

Property Value

IStringConverter

StringFormat

Gets or sets the custom string format that is used for displaying a value. The value of this property is used for displaying labels and also used for displaying tooltips but it has a lower priority than the TooltipStringFormat property.

Declaration

cs-api-definition
public string StringFormat { get; set; }

Property Value

string

TextColor

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

Declaration

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

Property Value

Color

TickLength

Gets or sets the custom length of the ticks.

Declaration

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

Property Value

double

TickOrigin

Gets or sets the custom value that indicates where the ticks originate. The position of the ticks is determined based on the combination of the TickStep and TickOrigin values. The slider will generate the ticks and labels in a way so that a tick would be positioned at the given TickOrigin.

Declaration

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

Property Value

double

TickStep

Gets or sets the value that is used to calculate at what positions/values should be displayed ticks.

Declaration

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

Property Value

double

TickStyleSelector

Gets or sets an object that can select different styles for different ticks.

Declaration

cs-api-definition
public IStyleSelector TickStyleSelector { get; set; }

Property Value

IStyleSelector

TickTemplate

Gets or sets the template or template-selector that is used for creating tick visuals.

Declaration

cs-api-definition
public DataTemplate TickTemplate { get; set; }

Property Value

DataTemplate

TickThickness

Gets or sets the custom fatness of the ticks.

Declaration

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

Property Value

double

TicksPlacement

Gets or sets the placement of the ticks.

Declaration

cs-api-definition
public SliderTicksPlacement TicksPlacement { get; set; }

Property Value

SliderTicksPlacement

TooltipContentTemplate

Gets or sets the template or template selector that defines the content of a tooltip.

Declaration

cs-api-definition
public DataTemplate TooltipContentTemplate { get; set; }

Property Value

DataTemplate

TooltipControlTemplate

Gets or sets the control template of the SliderTooltip, which defines the appearance of the tooltip.

Declaration

cs-api-definition
public ControlTemplate TooltipControlTemplate { get; set; }

Property Value

ControlTemplate

TooltipStringFormat

Gets or sets the custom string format that is used for displaying the content of a tooltip. When this property is null or empty, the StringFormat property is used for displaying the content of a tooltip.

Declaration

cs-api-definition
public string TooltipStringFormat { get; set; }

Property Value

string

Methods

ArrangeOverride(Rect)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Rect bounds)

Parameters

bounds

Rect

Returns

Size

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

MeasureOverride(double, double)

Declaration

cs-api-definition
protected override Size MeasureOverride(double widthConstraint, double heightConstraint)

Parameters

widthConstraint

double

heightConstraint

double

Returns

Size

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()
In this article
DefinitionConstructorsRadSliderBase()FieldsActualBackTrackStylePropertyActualRangeTrackStylePropertyBackTrackColorPropertyBackTrackExtentPropertyBackTrackStylePropertyBackTrackThicknessPropertyControlTemplatePropertyFontFamilyPropertyFontSizePropertyInRangeTickColorPropertyInRangeTickStylePropertyLabelStepPropertyLabelStylePropertyLabelStyleSelectorPropertyLabelTemplatePropertyLabelsPlacementPropertyMaximumPropertyMinimumPropertyOutOfRangeTickColorPropertyOutOfRangeTickStylePropertyRangeTrackFillPropertyRangeTrackStylePropertySnapModePropertyStringConverterPropertyStringFormatPropertyTextColorPropertyTickLengthPropertyTickOriginPropertyTickStepPropertyTickStyleSelectorPropertyTickTemplatePropertyTickThicknessPropertyTicksPlacementPropertyTooltipContentTemplatePropertyTooltipControlTemplatePropertyTooltipStringFormatPropertyPropertiesActualBackTrackStyleActualRangeTrackStyleBackTrackColorBackTrackExtentBackTrackStyleBackTrackThicknessControlTemplateFontFamilyFontSizeInRangeTickColorInRangeTickStyleLabelStepLabelStyleLabelStyleSelectorLabelTemplateLabelsPlacementMaximumMinimumOutOfRangeTickColorOutOfRangeTickStyleRangeTrackFillRangeTrackStyleSnapModeStringConverterStringFormatTextColorTickLengthTickOriginTickStepTickStyleSelectorTickTemplateTickThicknessTicksPlacementTooltipContentTemplateTooltipControlTemplateTooltipStringFormatMethodsArrangeOverride(Rect)ChangeVisualState()MeasureOverride(double, double)OnApplyTemplate()
Not finding the help you need?
Contact Support