Class RadSliderBase
Represents a slider control.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public abstract class RadSliderBase : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
RadSliderBase()
Initalizes a new instance of the class.
Declaration
public RadSliderBase()
Fields
ActualBackTrackStyleProperty
Identifies the ActualBackTrackStyle property.
Declaration
public static readonly BindableProperty ActualBackTrackStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualRangeTrackStyleProperty
Identifies the ActualRangeTrackStyle property.
Declaration
public static readonly BindableProperty ActualRangeTrackStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackTrackColorProperty
Identifies the BackTrackColor property.
Declaration
public static readonly BindableProperty BackTrackColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackTrackExtentProperty
Identifies the BackTrackExtent property.
Declaration
public static readonly BindableProperty BackTrackExtentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackTrackStyleProperty
Identifies the BackTrackStyle property.
Declaration
public static readonly BindableProperty BackTrackStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackTrackThicknessProperty
Identifies the BackTrackThickness property.
Declaration
public static readonly BindableProperty BackTrackThicknessProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
InRangeTickColorProperty
Identifies the InRangeTickColor property.
Declaration
public static readonly BindableProperty InRangeTickColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
InRangeTickStyleProperty
Identifies the InRangeTickStyle property.
Declaration
public static readonly BindableProperty InRangeTickStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
LabelsPlacementProperty
Identifies the LabelsPlacement property.
Declaration
public static readonly BindableProperty LabelsPlacementProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
LabelStepProperty
Identifies the LabelStep property.
Declaration
public static readonly BindableProperty LabelStepProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
LabelStyleProperty
Identifies the LabelStyle property.
Declaration
public static readonly BindableProperty LabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
LabelStyleSelectorProperty
Identifies the LabelStyleSelector property.
Declaration
public static readonly BindableProperty LabelStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
LabelTemplateProperty
Identifies the LabelTemplate property.
Declaration
public static readonly BindableProperty LabelTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MaximumProperty
Identifies the Maximum property.
Declaration
public static readonly BindableProperty MaximumProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MinimumProperty
Identifies the Minimum property.
Declaration
public static readonly BindableProperty MinimumProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutOfRangeTickColorProperty
Identifies the OutOfRangeTickColor property.
Declaration
public static readonly BindableProperty OutOfRangeTickColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutOfRangeTickStyleProperty
Identifies the OutOfRangeTickStyle property.
Declaration
public static readonly BindableProperty OutOfRangeTickStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
RangeTrackFillProperty
Identifies the RangeTrackFill property.
Declaration
public static readonly BindableProperty RangeTrackFillProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
RangeTrackStyleProperty
Identifies the RangeTrackStyle property.
Declaration
public static readonly BindableProperty RangeTrackStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SnapModeProperty
Identifies the SnapMode property.
Declaration
public static readonly BindableProperty SnapModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StringConverterProperty
Identifies the StringConverter property.
Declaration
public static readonly BindableProperty StringConverterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StringFormatProperty
Identifies the StringFormat property.
Declaration
public static readonly BindableProperty StringFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickLengthProperty
Identifies the TickLength property.
Declaration
public static readonly BindableProperty TickLengthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickOriginProperty
Identifies the TickOrigin property.
Declaration
public static readonly BindableProperty TickOriginProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TicksPlacementProperty
Identifies the TicksPlacement property.
Declaration
public static readonly BindableProperty TicksPlacementProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickStepProperty
Identifies the TickStep property.
Declaration
public static readonly BindableProperty TickStepProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickStyleSelectorProperty
Identifies the TickStyleSelector property.
Declaration
public static readonly BindableProperty TickStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickTemplateProperty
Identifies the TickTemplate property.
Declaration
public static readonly BindableProperty TickTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TickThicknessProperty
Identifies the TickThickness property.
Declaration
public static readonly BindableProperty TickThicknessProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TooltipContentTemplateProperty
Identifies the TooltipContentTemplate property.
Declaration
public static readonly BindableProperty TooltipContentTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TooltipControlTemplateProperty
Identifies the TooltipControlTemplate property.
Declaration
public static readonly BindableProperty TooltipControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TooltipStringFormatProperty
Identifies the TooltipStringFormat property.
Declaration
public static readonly BindableProperty TooltipStringFormatProperty
Field Value
Microsoft.Maui.Controls.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
public Style ActualBackTrackStyle { get; }
Property Value
Microsoft.Maui.Controls.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
public Style ActualRangeTrackStyle { get; }
Property Value
Microsoft.Maui.Controls.Style
|
BackTrackColor
Gets or sets the custom color that is to be applied to the back-track.
Declaration
public Color BackTrackColor { get; set; }
Property Value
Microsoft.Maui.Graphics.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
public double BackTrackExtent { get; set; }
Property Value
System.Double
|
BackTrackStyle
Gets or sets the custom style that is to be applied to the back-track.
Declaration
public Style BackTrackStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
BackTrackThickness
Gets or sets the custom thickness that is to be applied to the back-track.
Declaration
public double BackTrackThickness { get; set; }
Property Value
System.Double
|
ControlTemplate
Gets or sets the template that defines the visual appearance of the view.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
FontFamily
Gets or sets the custom font family that is to be applied to the labels.
Declaration
public string FontFamily { get; set; }
Property Value
System.String
|
FontSize
Gets or sets the custom font size that is to be applied to the labels.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
|
InRangeTickColor
Gets or sets the custom color that is to be applied to the ticks that are within the start-end range.
Declaration
public Color InRangeTickColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
InRangeTickStyle
Gets or sets the custom style of the ticks that are within the start-end range.
Declaration
public Style InRangeTickStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
LabelsPlacement
Gets or sets the placement of the labels.
Declaration
public SliderLabelsPlacement LabelsPlacement { get; set; }
Property Value
SliderLabelsPlacement
|
LabelStep
Gets or sets the value that is used to calculate at what positions/values should be displayed labels.
Declaration
public double LabelStep { get; set; }
Property Value
System.Double
|
LabelStyle
Gets or sets the custom style of the labels.
Declaration
public Style LabelStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
LabelStyleSelector
Gets or sets an object that can select different styles for different labels.
Declaration
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
public DataTemplate LabelTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
Maximum
Gets or sets the maximum value.
Declaration
public double Maximum { get; set; }
Property Value
System.Double
|
Minimum
Gets or sets the minimum value.
Declaration
public double Minimum { get; set; }
Property Value
System.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
public Color OutOfRangeTickColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
OutOfRangeTickStyle
Gets or sets the custom style of the ticks that are outside of the start-end range.
Declaration
public Style OutOfRangeTickStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
RangeTrackFill
Gets or sets the custom color that is to be applied to the range track.
Declaration
public Color RangeTrackFill { get; set; }
Property Value
Microsoft.Maui.Graphics.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
public Style RangeTrackStyle { get; set; }
Property Value
Microsoft.Maui.Controls.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
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
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 displayig tooltips but it has a lower priority than the TooltipStringFormat property.
Declaration
public string StringFormat { get; set; }
Property Value
System.String
|
TextColor
Gets or sets the custom color that is to be applied to the labels.
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
TickLength
Gets or sets the custom length of the ticks.
Declaration
public double TickLength { get; set; }
Property Value
System.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
public double TickOrigin { get; set; }
Property Value
System.Double
|
TicksPlacement
Gets or sets the placement of the ticks.
Declaration
public SliderTicksPlacement TicksPlacement { get; set; }
Property Value
SliderTicksPlacement
|
TickStep
Gets or sets the value that is used to calculate at what positions/values should be displayed ticks.
Declaration
public double TickStep { get; set; }
Property Value
System.Double
|
TickStyleSelector
Gets or sets an object that can select different styles for different ticks.
Declaration
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
public DataTemplate TickTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
TickThickness
Gets or sets the custom fatness of the ticks.
Declaration
public double TickThickness { get; set; }
Property Value
System.Double
|
TooltipContentTemplate
Gets or sets the template or template selector that defines the content of a tooltip.
Declaration
public DataTemplate TooltipContentTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
TooltipControlTemplate
Gets or sets the control template of the SliderTooltip, which defines the appearance of the tooltip.
Declaration
public ControlTemplate TooltipControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.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
public string TooltipStringFormat { get; set; }
Property Value
System.String
|
Methods
ArrangeOverride(Rect)
Declaration
protected override Size ArrangeOverride(Rect bounds)
Parameters
Microsoft.Maui.Graphics.Rect
bounds
|
Returns
Microsoft.Maui.Graphics.Size
|
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
MeasureOverride(Double, Double)
Declaration
protected override Size MeasureOverride(double widthConstraint, double heightConstraint)
Parameters
System.Double
widthConstraint
|
System.Double
heightConstraint
|
Returns
Microsoft.Maui.Graphics.Size
|
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()