alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SfRangeSelector

    A material design for SfRangeSelector.

    Inheritance
    object
    SfView
    RangeView<double>
    RangeSliderBase<double>
    RangeSelectorBase<double>
    SfRangeSelector
    Implements
    IDrawableLayout
    IDrawable
    IAbsoluteLayout
    ILayout
    IView
    IElement
    ITransform
    IContainer
    IList<IView>
    ICollection<IView>
    IEnumerable<IView>
    IEnumerable
    ISafeAreaView
    IPadding
    ICrossPlatformLayout
    IVisualTreeElement
    Inherited Members
    RangeSelectorBase<double>.ActiveRegionFill
    RangeSelectorBase<double>.ActiveRegionFillProperty
    RangeSelectorBase<double>.ActiveRegionStroke
    RangeSelectorBase<double>.ActiveRegionStrokeProperty
    RangeSelectorBase<double>.ActiveRegionStrokeThickness
    RangeSelectorBase<double>.ActiveRegionStrokeThicknessProperty
    RangeSelectorBase<double>.Content
    RangeSelectorBase<double>.ContentProperty
    RangeSelectorBase<double>.InactiveRegionFill
    RangeSelectorBase<double>.InactiveRegionFillProperty
    RangeSelectorBase<double>.InactiveRegionStroke
    RangeSelectorBase<double>.InactiveRegionStrokeProperty
    RangeSelectorBase<double>.InactiveRegionStrokeThickness
    RangeSelectorBase<double>.InactiveRegionStrokeThicknessProperty
    RangeSliderBase<double>.DragBehavior
    RangeSliderBase<double>.DragBehaviorProperty
    RangeSliderBase<double>.EnableIntervalSelection
    RangeSliderBase<double>.EnableIntervalSelectionProperty
    RangeSliderBase<double>.EndThumbIcon
    RangeSliderBase<double>.EndThumbIconProperty
    RangeSliderBase<double>.RangeEnd
    RangeSliderBase<double>.RangeEndProperty
    RangeSliderBase<double>.RangeStart
    RangeSliderBase<double>.RangeStartProperty
    RangeSliderBase<double>.StartThumbIcon
    RangeSliderBase<double>.StartThumbIconProperty
    RangeView<double>.ArrangeContent(Rect)
    RangeView<double>.ChangeVisualState()
    RangeView<double>.DeferredUpdateDelay
    RangeView<double>.DeferredUpdateDelayProperty
    RangeView<double>.DividerStyle
    RangeView<double>.DividerStyleProperty
    RangeView<double>.DragCompletedCommand
    RangeView<double>.DragCompletedCommandParameter
    RangeView<double>.DragCompletedCommandParameterProperty
    RangeView<double>.DragCompletedCommandProperty
    RangeView<double>.DragStartedCommand
    RangeView<double>.DragStartedCommandParameter
    RangeView<double>.DragStartedCommandParameterProperty
    RangeView<double>.DragStartedCommandProperty
    RangeView<double>.EdgeLabelsPlacement
    RangeView<double>.EdgeLabelsPlacementProperty
    RangeView<double>.EnableDeferredUpdate
    RangeView<double>.EnableDeferredUpdateProperty
    RangeView<double>.EnableLiquidGlassEffect
    RangeView<double>.EnableLiquidGlassEffectProperty
    RangeView<double>.Interval
    RangeView<double>.IntervalProperty
    RangeView<double>.IsInversed
    RangeView<double>.IsInversedProperty
    RangeView<double>.LabelCreated
    RangeView<double>.LabelsPlacement
    RangeView<double>.LabelsPlacementProperty
    RangeView<double>.LabelStyle
    RangeView<double>.LabelStyleProperty
    RangeView<double>.MajorTickStyle
    RangeView<double>.MajorTickStyleProperty
    RangeView<double>.Maximum
    RangeView<double>.MaximumProperty
    RangeView<double>.MeasureContent(double, double)
    RangeView<double>.Minimum
    RangeView<double>.MinimumProperty
    RangeView<double>.MinorTicksPerInterval
    RangeView<double>.MinorTicksPerIntervalProperty
    RangeView<double>.MinorTickStyle
    RangeView<double>.MinorTickStyleProperty
    RangeView<double>.OnBindingContextChanged()
    RangeView<double>.OnDraw(ICanvas, RectF)
    RangeView<double>.OnHandlerChanged()
    RangeView<double>.OnPropertyChanged(string)
    RangeView<double>.ShowDividers
    RangeView<double>.ShowDividersProperty
    RangeView<double>.ShowLabels
    RangeView<double>.ShowLabelsProperty
    RangeView<double>.ShowTicks
    RangeView<double>.ShowTicksProperty
    RangeView<double>.ThumbOverlayStyle
    RangeView<double>.ThumbOverlayStyleProperty
    RangeView<double>.ThumbStyle
    RangeView<double>.ThumbStyleProperty
    RangeView<double>.Tooltip
    RangeView<double>.TooltipProperty
    RangeView<double>.TrackExtent
    RangeView<double>.TrackExtentProperty
    RangeView<double>.TrackStyle
    RangeView<double>.TrackStyleProperty
    RangeView<double>.ValueChangeEnd
    RangeView<double>.ValueChangeStart
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(double, double)
    SfView.MeasureOverride(double, double)
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.Sliders
    Assembly: Syncfusion.Maui.Sliders.dll
    Syntax
    public class SfRangeSelector : RangeSelectorBase<double>, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement

    Constructors

    SfRangeSelector()

    Declaration
    public SfRangeSelector()

    Fields

    NumberFormatProperty

    The backing store for the Syncfusion.Maui.Sliders.INumericElement.NumberFormat field.

    Declaration
    public static readonly BindableProperty NumberFormatProperty
    Field Value
    Type Description
    BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    StepSizeProperty

    The backing store for the Syncfusion.Maui.Sliders.INumericElement.StepSize field.

    Declaration
    public static readonly BindableProperty StepSizeProperty
    Field Value
    Type Description
    BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    Properties

    NumberFormat

    Gets or sets the value to format the label text.

    Declaration
    public string NumberFormat { get; set; }
    Property Value
    Type Description
    string

    Defaults to 0.##.

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector ShowLabels="True"
                             NumberFormat="0.0" />
    SfRangeSelector rangeSelector = new SfRangeSelector()
    {
        ShowLabels = true,
        NumberFormat = "0.0",
    };

    StepSize

    Gets or sets the value indicating whether to select the discrete value.

    For example, if Minimum is 0.0 and Maximum is 10.0 and StepSize is 2.0, then the slider will move the thumb positions to 0.0, 2.0, 4.0, 6.0, 8.0 and 10.0 only.

    Declaration
    public double StepSize { get; set; }
    Property Value
    Type Description
    double

    Defaults to 0d.

    Remarks

    StepSize does not work with BetweenThumbs.

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector Minimum="0"
                             Maximum="10" 
                             StepSize="2">
    </sliders:SfRangeSelector>
    SfRangeSelector rangeSelector = new SfRangeselector()
    { 
         Minimum = 0,
         Maximum = 10,
         StepSize = 2
    };

    Events

    ValueChanged

    Represents the ValueChanged event, which occurs when the user is done selecting a new value for the Range Selector.

    Declaration
    public event EventHandler<RangeSelectorValueChangedEventArgs>? ValueChanged
    Event Type
    Type
    EventHandler<RangeSelectorValueChangedEventArgs>
    Examples
    • XAML
    • C#
    <sliders:SfRangeSelector ValueChanged="OnValueChanged" />
    SfRangeSelector rangeSelector = new SfRangeSelector()
    {
        ValueChanged += OnValueChanged
    }
    
    private void OnValueChanged(object sender, RangeSelectorValueChangedEventArgs e)
    {
    }

    ValueChanging

    Represents the ValueChanging event, which occurs when the user is selecting a new value for the Range Selector by dragging any one of the thumb.

    Declaration
    public event EventHandler<RangeSelectorValueChangingEventArgs>? ValueChanging
    Event Type
    Type
    EventHandler<RangeSelectorValueChangingEventArgs>
    Examples
    • XAML
    • C#
    <sliders:SfRangeSelector ValueChanging="OnValueChanging" />
    SfRangeSelector rangeSelector = new SfRangeSelector()
    {
        ValueChanging += OnValueChanging
    }
    
    private void OnValueChanging(object sender, RangeSelectorValueChangingEventArgs e)
    {
    }

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved