RadSliderBase
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
Initalizes a new instance of the class.
public RadSliderBase()
Fields
ActualBackTrackStyleProperty
BindableProperty
Identifies the ActualBackTrackStyle property.
public static readonly BindableProperty ActualBackTrackStyleProperty
ActualRangeTrackStyleProperty
BindableProperty
Identifies the ActualRangeTrackStyle property.
public static readonly BindableProperty ActualRangeTrackStyleProperty
BackTrackColorProperty
BindableProperty
Identifies the BackTrackColor property.
public static readonly BindableProperty BackTrackColorProperty
BackTrackExtentProperty
BindableProperty
Identifies the BackTrackExtent property.
public static readonly BindableProperty BackTrackExtentProperty
BackTrackStyleProperty
BindableProperty
Identifies the BackTrackStyle property.
public static readonly BindableProperty BackTrackStyleProperty
BackTrackThicknessProperty
BindableProperty
Identifies the BackTrackThickness property.
public static readonly BindableProperty BackTrackThicknessProperty
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
InRangeTickColorProperty
BindableProperty
Identifies the InRangeTickColor property.
public static readonly BindableProperty InRangeTickColorProperty
InRangeTickStyleProperty
BindableProperty
Identifies the InRangeTickStyle property.
public static readonly BindableProperty InRangeTickStyleProperty
LabelsPlacementProperty
BindableProperty
Identifies the LabelsPlacement property.
public static readonly BindableProperty LabelsPlacementProperty
LabelStepProperty
BindableProperty
Identifies the LabelStep property.
public static readonly BindableProperty LabelStepProperty
LabelStyleProperty
BindableProperty
Identifies the LabelStyle property.
public static readonly BindableProperty LabelStyleProperty
LabelStyleSelectorProperty
BindableProperty
Identifies the LabelStyleSelector property.
public static readonly BindableProperty LabelStyleSelectorProperty
LabelTemplateProperty
BindableProperty
Identifies the LabelTemplate property.
public static readonly BindableProperty LabelTemplateProperty
MaximumProperty
BindableProperty
Identifies the Maximum property.
public static readonly BindableProperty MaximumProperty
MinimumProperty
BindableProperty
Identifies the Minimum property.
public static readonly BindableProperty MinimumProperty
OutOfRangeTickColorProperty
BindableProperty
Identifies the OutOfRangeTickColor property.
public static readonly BindableProperty OutOfRangeTickColorProperty
OutOfRangeTickStyleProperty
BindableProperty
Identifies the OutOfRangeTickStyle property.
public static readonly BindableProperty OutOfRangeTickStyleProperty
RangeTrackFillProperty
BindableProperty
Identifies the RangeTrackFill property.
public static readonly BindableProperty RangeTrackFillProperty
RangeTrackStyleProperty
BindableProperty
Identifies the RangeTrackStyle property.
public static readonly BindableProperty RangeTrackStyleProperty
SnapModeProperty
BindableProperty
Identifies the SnapMode property.
public static readonly BindableProperty SnapModeProperty
StringConverterProperty
BindableProperty
Identifies the StringConverter property.
public static readonly BindableProperty StringConverterProperty
StringFormatProperty
BindableProperty
Identifies the StringFormat property.
public static readonly BindableProperty StringFormatProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TickLengthProperty
BindableProperty
Identifies the TickLength property.
public static readonly BindableProperty TickLengthProperty
TickOriginProperty
BindableProperty
Identifies the TickOrigin property.
public static readonly BindableProperty TickOriginProperty
TicksPlacementProperty
BindableProperty
Identifies the TicksPlacement property.
public static readonly BindableProperty TicksPlacementProperty
TickStepProperty
BindableProperty
Identifies the TickStep property.
public static readonly BindableProperty TickStepProperty
TickStyleSelectorProperty
BindableProperty
Identifies the TickStyleSelector property.
public static readonly BindableProperty TickStyleSelectorProperty
TickTemplateProperty
BindableProperty
Identifies the TickTemplate property.
public static readonly BindableProperty TickTemplateProperty
TickThicknessProperty
BindableProperty
Identifies the TickThickness property.
public static readonly BindableProperty TickThicknessProperty
TooltipContentTemplateProperty
BindableProperty
Identifies the TooltipContentTemplate property.
public static readonly BindableProperty TooltipContentTemplateProperty
TooltipControlTemplateProperty
BindableProperty
Identifies the TooltipControlTemplate property.
public static readonly BindableProperty TooltipControlTemplateProperty
TooltipStringFormatProperty
BindableProperty
Identifies the TooltipStringFormat property.
public static readonly BindableProperty TooltipStringFormatProperty
Properties
ActualBackTrackStyle
Style
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.
public Style ActualBackTrackStyle { get; }
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.
public Style ActualRangeTrackStyle { get; }
BackTrackColor
Color
Gets or sets the custom color that is to be applied to the back-track.
public Color BackTrackColor { get; set; }
Gets or sets the value that defines the pixel length that the back-track extends beyond the min and the max values.
public double BackTrackExtent { get; set; }
BackTrackStyle
Style
Gets or sets the custom style that is to be applied to the back-track.
public Style BackTrackStyle { get; set; }
Gets or sets the custom thickness that is to be applied to the back-track.
public double BackTrackThickness { get; set; }
ControlTemplate
ControlTemplate
Gets or sets the template that defines the visual appearance of the view.
public ControlTemplate ControlTemplate { get; set; }
Gets or sets the custom font family that is to be applied to the labels.
public string FontFamily { get; set; }
Gets or sets the custom font size that is to be applied to the labels.
public double FontSize { get; set; }
InRangeTickColor
Color
Gets or sets the custom color that is to be applied to the ticks that are within the start-end range.
public Color InRangeTickColor { get; set; }
InRangeTickStyle
Style
Gets or sets the custom style of the ticks that are within the start-end range.
public Style InRangeTickStyle { get; set; }
Gets or sets the placement of the labels.
public SliderLabelsPlacement LabelsPlacement { get; set; }
Gets or sets the value that is used to calculate at what positions/values should be displayed labels.
public double LabelStep { get; set; }
LabelStyle
Style
Gets or sets the custom style of the labels.
public Style LabelStyle { get; set; }
Gets or sets an object that can select different styles for different labels.
public IStyleSelector LabelStyleSelector { get; set; }
LabelTemplate
DataTemplate
Gets or sets the template or template-selector that is used for creating label visuals.
public DataTemplate LabelTemplate { get; set; }
OutOfRangeTickColor
Color
Gets or sets the custom color that is to be applied to the ticks that are outside of the start-end range.
public Color OutOfRangeTickColor { get; set; }
OutOfRangeTickStyle
Style
Gets or sets the custom style of the ticks that are outside of the start-end range.
public Style OutOfRangeTickStyle { get; set; }
RangeTrackFill
Color
Gets or sets the custom color that is to be applied to the range track.
public Color RangeTrackFill { get; set; }
RangeTrackStyle
Style
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.
public Style RangeTrackStyle { get; set; }
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).
public SliderSnapMode SnapMode { get; set; }
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.
public IStringConverter StringConverter { get; set; }
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.
public string StringFormat { get; set; }
TextColor
Color
Gets or sets the custom color that is to be applied to the labels.
public Color TextColor { get; set; }
Gets or sets the custom length of the ticks.
public double TickLength { get; set; }
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.
public double TickOrigin { get; set; }
Gets or sets the placement of the ticks.
public SliderTicksPlacement TicksPlacement { get; set; }
Gets or sets the value that is used to calculate at what positions/values should be displayed ticks.
public double TickStep { get; set; }
Gets or sets an object that can select different styles for different ticks.
public IStyleSelector TickStyleSelector { get; set; }
TickTemplate
DataTemplate
Gets or sets the template or template-selector that is used for creating tick visuals.
public DataTemplate TickTemplate { get; set; }
Gets or sets the custom fatness of the ticks.
public double TickThickness { get; set; }
TooltipContentTemplate
DataTemplate
Gets or sets the template or template selector that defines the content of a tooltip.
public DataTemplate TooltipContentTemplate { get; set; }
TooltipControlTemplate
ControlTemplate
Gets or sets the control template of the SliderTooltip, which defines the appearance of the tooltip.
public ControlTemplate TooltipControlTemplate { get; set; }
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.
public string TooltipStringFormat { get; set; }
Methods
protected override Size ArrangeOverride(Rect bounds)
Size
protected override void ChangeVisualState()
protected override void OnApplyTemplate()