ClassRadSliderBase
Represents a slider control.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class RadSliderBase : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadSliderBase
Derived Classes:
Implements:
Inherited Members
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
BindableProperty
ActualRangeTrackStyleProperty
Identifies the ActualRangeTrackStyle property.
Declaration
public static readonly BindableProperty ActualRangeTrackStyleProperty
Field Value
BindableProperty
BackTrackColorProperty
Identifies the BackTrackColor property.
Declaration
public static readonly BindableProperty BackTrackColorProperty
Field Value
BindableProperty
BackTrackExtentProperty
Identifies the BackTrackExtent property.
Declaration
public static readonly BindableProperty BackTrackExtentProperty
Field Value
BindableProperty
BackTrackStyleProperty
Identifies the BackTrackStyle property.
Declaration
public static readonly BindableProperty BackTrackStyleProperty
Field Value
BindableProperty
BackTrackThicknessProperty
Identifies the BackTrackThickness property.
Declaration
public static readonly BindableProperty BackTrackThicknessProperty
Field Value
BindableProperty
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
BindableProperty
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
BindableProperty
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
BindableProperty
InRangeTickColorProperty
Identifies the InRangeTickColor property.
Declaration
public static readonly BindableProperty InRangeTickColorProperty
Field Value
BindableProperty
InRangeTickStyleProperty
Identifies the InRangeTickStyle property.
Declaration
public static readonly BindableProperty InRangeTickStyleProperty
Field Value
BindableProperty
LabelStepProperty
Identifies the LabelStep property.
Declaration
public static readonly BindableProperty LabelStepProperty
Field Value
BindableProperty
LabelStyleProperty
Identifies the LabelStyle property.
Declaration
public static readonly BindableProperty LabelStyleProperty
Field Value
BindableProperty
LabelStyleSelectorProperty
Identifies the LabelStyleSelector property.
Declaration
public static readonly BindableProperty LabelStyleSelectorProperty
Field Value
BindableProperty
LabelTemplateProperty
Identifies the LabelTemplate property.
Declaration
public static readonly BindableProperty LabelTemplateProperty
Field Value
BindableProperty
LabelsPlacementProperty
Identifies the LabelsPlacement property.
Declaration
public static readonly BindableProperty LabelsPlacementProperty
Field Value
BindableProperty
MaximumProperty
Identifies the Maximum property.
Declaration
public static readonly BindableProperty MaximumProperty
Field Value
BindableProperty
MinimumProperty
Identifies the Minimum property.
Declaration
public static readonly BindableProperty MinimumProperty
Field Value
BindableProperty
OutOfRangeTickColorProperty
Identifies the OutOfRangeTickColor property.
Declaration
public static readonly BindableProperty OutOfRangeTickColorProperty
Field Value
BindableProperty
OutOfRangeTickStyleProperty
Identifies the OutOfRangeTickStyle property.
Declaration
public static readonly BindableProperty OutOfRangeTickStyleProperty
Field Value
BindableProperty
RangeTrackFillProperty
Identifies the RangeTrackFill property.
Declaration
public static readonly BindableProperty RangeTrackFillProperty
Field Value
BindableProperty
RangeTrackStyleProperty
Identifies the RangeTrackStyle property.
Declaration
public static readonly BindableProperty RangeTrackStyleProperty
Field Value
BindableProperty
SnapModeProperty
Identifies the SnapMode property.
Declaration
public static readonly BindableProperty SnapModeProperty
Field Value
BindableProperty
StringConverterProperty
Identifies the StringConverter property.
Declaration
public static readonly BindableProperty StringConverterProperty
Field Value
BindableProperty
StringFormatProperty
Identifies the StringFormat property.
Declaration
public static readonly BindableProperty StringFormatProperty
Field Value
BindableProperty
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
BindableProperty
TickLengthProperty
Identifies the TickLength property.
Declaration
public static readonly BindableProperty TickLengthProperty
Field Value
BindableProperty
TickOriginProperty
Identifies the TickOrigin property.
Declaration
public static readonly BindableProperty TickOriginProperty
Field Value
BindableProperty
TickStepProperty
Identifies the TickStep property.
Declaration
public static readonly BindableProperty TickStepProperty
Field Value
BindableProperty
TickStyleSelectorProperty
Identifies the TickStyleSelector property.
Declaration
public static readonly BindableProperty TickStyleSelectorProperty
Field Value
BindableProperty
TickTemplateProperty
Identifies the TickTemplate property.
Declaration
public static readonly BindableProperty TickTemplateProperty
Field Value
BindableProperty
TickThicknessProperty
Identifies the TickThickness property.
Declaration
public static readonly BindableProperty TickThicknessProperty
Field Value
BindableProperty
TicksPlacementProperty
Identifies the TicksPlacement property.
Declaration
public static readonly BindableProperty TicksPlacementProperty
Field Value
BindableProperty
TooltipContentTemplateProperty
Identifies the TooltipContentTemplate property.
Declaration
public static readonly BindableProperty TooltipContentTemplateProperty
Field Value
BindableProperty
TooltipControlTemplateProperty
Identifies the TooltipControlTemplate property.
Declaration
public static readonly BindableProperty TooltipControlTemplateProperty
Field Value
BindableProperty
TooltipStringFormatProperty
Identifies the TooltipStringFormat property.
Declaration
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
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
public Style ActualRangeTrackStyle { get; }
Property Value
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
Color
BackTrackExtent
Gets or sets the value that defines the pixel length that the back-track extends beyond the min and the max values.
BackTrackStyle
Gets or sets the custom style that is to be applied to the back-track.
Declaration
public Style BackTrackStyle { get; set; }
Property Value
Style
BackTrackThickness
Gets or sets the custom thickness that is to be applied to the back-track.
ControlTemplate
Gets or sets the template that defines the visual appearance of the view.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
ControlTemplate
FontFamily
Gets or sets the custom font family that is to be applied to the labels.
FontSize
Gets or sets the custom font size that is to be applied to the labels.
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
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
Style
LabelStep
Gets or sets the value that is used to calculate at what positions/values should be displayed labels.
LabelStyle
Gets or sets the custom style of the labels.
Declaration
public Style LabelStyle { get; set; }
Property Value
Style
LabelStyleSelector
Gets or sets an object that can select different styles for different labels.
Declaration
public IStyleSelector LabelStyleSelector { get; set; }
Property Value
LabelTemplate
Gets or sets the template or template-selector that is used for creating label visuals.
Declaration
public DataTemplate LabelTemplate { get; set; }
Property Value
DataTemplate
LabelsPlacement
Gets or sets the placement of the labels.
Declaration
public SliderLabelsPlacement LabelsPlacement { get; set; }
Property Value
Maximum
Gets or sets the maximum value.
Minimum
Gets or sets the minimum value.
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
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
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
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
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
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
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.
TextColor
Gets or sets the custom color that is to be applied to the labels.
Declaration
public Color TextColor { get; set; }
Property Value
Color
TickLength
Gets or sets the custom length of the ticks.
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
.
TickStep
Gets or sets the value that is used to calculate at what positions/values should be displayed ticks.
TickStyleSelector
Gets or sets an object that can select different styles for different ticks.
Declaration
public IStyleSelector TickStyleSelector { get; set; }
Property Value
TickTemplate
Gets or sets the template or template-selector that is used for creating tick visuals.
Declaration
public DataTemplate TickTemplate { get; set; }
Property Value
DataTemplate
TickThickness
Gets or sets the custom fatness of the ticks.
TicksPlacement
Gets or sets the placement of the ticks.
Declaration
public SliderTicksPlacement TicksPlacement { get; set; }
Property Value
TooltipContentTemplate
Gets or sets the template or template selector that defines the content of a tooltip.
Declaration
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
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.
Methods
ArrangeOverride(Rect)
Declaration
protected override Size ArrangeOverride(Rect bounds)
Parameters
bounds
Rect
Returns
Size
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()