MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RangeSelectorBase<T>

    Show / Hide Table of Contents

    Class RangeSelectorBase<T>

    RangeSelectorBase<T> is a base class for SfRangeSelector, and SfDateTimeRangeSelector.

    Inheritance
    System.Object
    SfView
    RangeView<T>
    RangeSliderBase<T>
    RangeSelectorBase<T>
    SfDateTimeRangeSelector
    SfRangeSelector
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    RangeSliderBase<T>.RangeStartProperty
    RangeSliderBase<T>.RangeEndProperty
    RangeSliderBase<T>.StartThumbIconProperty
    RangeSliderBase<T>.EndThumbIconProperty
    RangeSliderBase<T>.DragBehaviorProperty
    RangeSliderBase<T>.EnableIntervalSelectionProperty
    RangeSliderBase<T>.RangeStart
    RangeSliderBase<T>.RangeEnd
    RangeSliderBase<T>.StartThumbIcon
    RangeSliderBase<T>.EndThumbIcon
    RangeSliderBase<T>.DragBehavior
    RangeSliderBase<T>.EnableIntervalSelection
    RangeView<T>.MinimumProperty
    RangeView<T>.MaximumProperty
    RangeView<T>.IntervalProperty
    RangeView<T>.MinorTicksPerIntervalProperty
    RangeView<T>.ShowTicksProperty
    RangeView<T>.ShowLabelsProperty
    RangeView<T>.ShowDividersProperty
    RangeView<T>.IsInversedProperty
    RangeView<T>.TrackExtentProperty
    RangeView<T>.LabelsPlacementProperty
    RangeView<T>.EdgeLabelsPlacementProperty
    RangeView<T>.EnableDeferredUpdateProperty
    RangeView<T>.DeferredUpdateDelayProperty
    RangeView<T>.TrackStyleProperty
    RangeView<T>.ThumbStyleProperty
    RangeView<T>.ThumbOverlayStyleProperty
    RangeView<T>.DividerStyleProperty
    RangeView<T>.MajorTickStyleProperty
    RangeView<T>.MinorTickStyleProperty
    RangeView<T>.LabelStyleProperty
    RangeView<T>.TooltipProperty
    RangeView<T>.DragStartedCommandProperty
    RangeView<T>.DragStartedCommandParameterProperty
    RangeView<T>.DragCompletedCommandProperty
    RangeView<T>.DragCompletedCommandParameterProperty
    RangeView<T>.ChangeVisualState()
    RangeView<T>.OnBindingContextChanged()
    RangeView<T>.OnPropertyChanged(String)
    RangeView<T>.OnHandlerChanged()
    RangeView<T>.MeasureContent(Double, Double)
    RangeView<T>.ArrangeContent(Rect)
    RangeView<T>.OnDraw(ICanvas, RectF)
    RangeView<T>.Minimum
    RangeView<T>.Maximum
    RangeView<T>.Interval
    RangeView<T>.MinorTicksPerInterval
    RangeView<T>.ShowDividers
    RangeView<T>.ShowTicks
    RangeView<T>.ShowLabels
    RangeView<T>.IsInversed
    RangeView<T>.TrackExtent
    RangeView<T>.LabelsPlacement
    RangeView<T>.EdgeLabelsPlacement
    RangeView<T>.EnableDeferredUpdate
    RangeView<T>.DeferredUpdateDelay
    RangeView<T>.TrackStyle
    RangeView<T>.ThumbStyle
    RangeView<T>.ThumbOverlayStyle
    RangeView<T>.DividerStyle
    RangeView<T>.MajorTickStyle
    RangeView<T>.MinorTickStyle
    RangeView<T>.LabelStyle
    RangeView<T>.Tooltip
    RangeView<T>.DragStartedCommand
    RangeView<T>.DragStartedCommandParameter
    RangeView<T>.DragCompletedCommand
    RangeView<T>.DragCompletedCommandParameter
    RangeView<T>.ValueChangeStart
    RangeView<T>.ValueChangeEnd
    RangeView<T>.LabelCreated
    SfView.MeasureOverride(Double, Double)
    SfView.ArrangeOverride(Rect)
    SfView.OnMeasure(Double, Double)
    SfView.IDrawableLayout.InvalidateDrawable()
    SfView.Children
    SfView.ClipToBounds
    SfView.Padding
    SfView.IDrawableLayout.DrawingOrder
    Namespace: Syncfusion.Maui.Sliders
    Assembly: Syncfusion.Maui.Sliders.dll
    Syntax
    public abstract class RangeSelectorBase<T> : RangeSliderBase<T>, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, IVisualTreeElement, ITouchListener, ITapGestureListener, IPanGestureListener, IGestureListener
    Type Parameters
    Name Description
    T

    Constructors

    RangeSelectorBase()

    Initializes a new instance of the SfRangeSelector, and SfDateTimeRangeSelector classes.

    Declaration
    public RangeSelectorBase()

    Fields

    ActiveRegionFillProperty

    The backing store for the ActiveRegionFill field.

    Declaration
    public static readonly BindableProperty ActiveRegionFillProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    ActiveRegionStrokeProperty

    The backing store for the ActiveRegionStroke field.

    Declaration
    public static readonly BindableProperty ActiveRegionStrokeProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    ActiveRegionStrokeThicknessProperty

    The backing store for the ActiveRegionStrokeThickness field.

    Declaration
    public static readonly BindableProperty ActiveRegionStrokeThicknessProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    ContentProperty

    The backing store for the Content field.

    Declaration
    public static readonly BindableProperty ContentProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    InactiveRegionFillProperty

    The backing store for the InactiveRegionFill field.

    Declaration
    public static readonly BindableProperty InactiveRegionFillProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    InactiveRegionStrokeProperty

    The backing store for the InactiveRegionStroke field.

    Declaration
    public static readonly BindableProperty InactiveRegionStrokeProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    InactiveRegionStrokeThicknessProperty

    The backing store for the InactiveRegionStrokeThickness field.

    Declaration
    public static readonly BindableProperty InactiveRegionStrokeThicknessProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    Microsoft.Maui.Controls.BindableProperty.

    Properties

    ActiveRegionFill

    Gets or sets the brush to the ActiveRegionFill.

    Declaration
    public Brush ActiveRegionFill { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.Brush

    Defaults to SolidColorBrush(Colors.Transparent).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector ActiveRegionFill = "Red" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.ActiveRegionFill = new SolidColorBrush(Colors.Red);

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector ActiveRegionFill = "Red" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.ActiveRegionFill = new SolidColorBrush(Colors.Red);

    ActiveRegionStroke

    Gets or sets the brush to the ActiveRegionStroke.

    Declaration
    public Brush ActiveRegionStroke { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.Brush

    Defaults to SolidColorBrush(Colors.Transparent).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector ActiveRegionStroke = "Red" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.ActiveRegionStroke = new SolidColorBrush(Colors.Red);

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector ActiveRegionStroke = "Red" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.ActiveRegionStroke = new SolidColorBrush(Colors.Red);

    ActiveRegionStrokeThickness

    Gets or sets the thickness to the ActiveRegionStrokeThickness.

    Declaration
    public Thickness ActiveRegionStrokeThickness { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Thickness

    Defaults to Microsoft.Maui.Thickness(1).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector ActiveRegionStroke = "Red"
                             ActiveRegionStrokeThickness = "3" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.ActiveRegionStroke = new SolidColorBrush(Colors.Red);
    rangeSelector.ActiveRegionStrokeThickness = 3;

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector ActiveRegionStroke = "Red"
                                     ActiveRegionStrokeThickness = "3" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.ActiveRegionStroke = new SolidColorBrush(Colors.Red);
    rangeSelector.ActiveRegionStrokeThickness = 3;

    Content

    Gets or sets the content to the SfRangeSelector and SfDateTimeRangeSelector.

    Declaration
    public View Content { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.View

    Defaults to null.

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector>
       <sliders:SfRangeSelector.Content>
          <chart:SfCartesianChart />
       </sliders:SfRangeSelector.Content>
    </sliders:SfRangeSelector>
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.Content = new SfCartesianChart();

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector>
       <sliders:SfDateTimeRangeSelector.Content>
          <chart:SfCartesianChart />
       </sliders:SfDateTimeRangeSelector.Content>
    </sliders:SfDateTimeRangeSelector>
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.Content = new SfCartesianChart();

    InactiveRegionFill

    Gets or sets the brush to the InactiveRegionFill.

    Declaration
    public Brush InactiveRegionFill { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.Brush

    Defaults to SolidColorBrush(ColorFromRgba(255,255,255,192)).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector InactiveRegionFill = "Red" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.InactiveRegionFill = new SolidColorBrush(Colors.Red);

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector InactiveRegionFill = "Red" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.InactiveRegionFill = new SolidColorBrush(Colors.Red);

    InactiveRegionStroke

    Gets or sets the brush to the InactiveRegionStroke.

    Declaration
    public Brush InactiveRegionStroke { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.Brush

    Defaults to SolidColorBrush(Colors.Transparent).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector InactiveRegionStroke = "Red" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.InactiveRegionStroke = new SolidColorBrush(Colors.Red);

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector InactiveRegionStroke = "Red" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.InactiveRegionStroke = new SolidColorBrush(Colors.Red);

    InactiveRegionStrokeThickness

    Gets or sets the thickness to the InactiveRegionStrokeThickness.

    Declaration
    public Thickness InactiveRegionStrokeThickness { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Thickness

    Defaults to Microsoft.Maui.Thickness(1).

    Examples

    Snippet for SfRangeSelector

    • XAML
    • C#
    <sliders:SfRangeSelector InactiveRegionStroke = "Red"
                             InactiveRegionStrokeThickness = "3" />
    SfRangeSelector rangeSelector = new SfRangeSelector();
    rangeSelector.InactiveRegionStroke = new SolidColorBrush(Colors.Red);
    rangeSelector.InactiveRegionStroke = 3;

    Snippet for SfDateTimeRangeSelector

    • XAML
    • C#
    <sliders:SfDateTimeRangeSelector InactiveRegionStroke = "Red"
                                     InactiveRegionStrokeThickness = "3" />
    SfDateTimeRangeSelector rangeSelector = new SfDateTimeRangeSelector();
    rangeSelector.InactiveRegionStroke = new SolidColorBrush(Colors.Red);
    rangeSelector.InactiveRegionStroke = 3;

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved