Class SfDateTimeRangeSelector
A material design for SfDateTimeRangeSelector.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Maui.Sliders
Assembly: Syncfusion.Maui.Sliders.dll
Syntax
public class SfDateTimeRangeSelector : DateTimeRangeSliderBase, IContentView, IView, IElement, ITransform, IPadding, IDrawableLayout, ITouchListener, ITapGestureListener, IPanGestureListener, IGestureListener, IDateTimeElement, IRangeSelectorElement
Constructors
SfDateTimeRangeSelector()
Initializes a new instance of SfDateTimeRangeSelector class.
Declaration
public SfDateTimeRangeSelector()
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 color to the ActiveRegionColor.
Declaration
public Brush ActiveRegionFill { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | Defaults to |
Examples
ActiveRegionStroke
Gets or sets the color to the ActiveRegionStroke.
Declaration
public Brush ActiveRegionStroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | Defaults to |
Examples
ActiveRegionStrokeThickness
Gets or sets the color to the ActiveRegionStrokeThickness.
Declaration
public Thickness ActiveRegionStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Thickness | Defaults to |
Examples
<sliders:SfDateTimeRangeSelector ActiveRegionStroke = "Red"
ActiveRegionStrokeThickness = "3" />
Content
Gets or sets the content to the SfDateTimeRangeSelector.
Declaration
public View Content { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.View | Defaults to |
Examples
<sliders:SfDateTimeRangeSelector>
<chart:SfCartesianChart />
</sliders:SfDateTimeRangeSelector>
InactiveRegionFill
Gets or sets the color to the InactiveRegionColor.
Declaration
public Brush InactiveRegionFill { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | Defaults to |
Examples
InactiveRegionStroke
Gets or sets the color to the InactiveRegionStroke.
Declaration
public Brush InactiveRegionStroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | Defaults to |
Examples
InactiveRegionStrokeThickness
Gets or sets the color to the InactiveRegionStrokeThickness.
Declaration
public Thickness InactiveRegionStrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Thickness | Defaults to |
Examples
<sliders:SfDateTimeRangeSelector InactiveRegionStroke = "Red"
InactiveRegionStrokeThickness = "3" />
Methods
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Overrides
Events
ValueChanged
Represents the ValueChanged event, which occurs when the user is done selecting a new value for the DateTime Range Selector.
Declaration
public event EventHandler<DateTimeRangeSelectorValueChangedEventArgs> ValueChanged
Event Type
Type | Description |
---|---|
System.EventHandler<DateTimeRangeSelectorValueChangedEventArgs> |
Examples
ValueChanging
Represents the ValueChanging event, which occurs when the user is selecting a new value for the DateTime Range Selector by dragging any one of the thumb.
Declaration
public event EventHandler<DateTimeRangeSelectorValueChangingEventArgs> ValueChanging
Event Type
Type | Description |
---|---|
System.EventHandler<DateTimeRangeSelectorValueChangingEventArgs> |
Examples
Explicit Interface Implementations
IRangeSelectorElement.OnContentChanged(Object, Object)
Declaration
void IRangeSelectorElement.OnContentChanged(object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldValue | |
System.Object | newValue |
IRangeSelectorElement.OnRegionStylePropertyChanged(Object, Object)
Declaration
void IRangeSelectorElement.OnRegionStylePropertyChanged(object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldValue | |
System.Object | newValue |