Class SfDateTimeRangeNavigator
Inheritance
Namespace: Syncfusion.RangeNavigator.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class SfDateTimeRangeNavigator : View, IParentThemeElement, IThemeElement
Constructors
SfDateTimeRangeNavigator()
Initializes a new instance of the SfDateTimeRangeNavigator class.
Declaration
public SfDateTimeRangeNavigator()
Fields
ContentProperty
Gets or sets the Content property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
DeferredUpdateDelayProperty
Gets or sets the DeferredUpdateDelay property.
Declaration
public static readonly BindableProperty DeferredUpdateDelayProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
EnableDeferredUpdateProperty
Gets or sets the EnableDeferredUpdate property.
Declaration
public static readonly BindableProperty EnableDeferredUpdateProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
EnableTooltipProperty
Gets or sets the EnableTooltip property.
Declaration
public static readonly BindableProperty EnableTooltipProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
IntervalsProperty
Gets or sets the Intervals property.
Declaration
public static readonly BindableProperty IntervalsProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ItemsSourceProperty
Gets or sets the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
LeftThumbStyleProperty
Gets or sets the LeftThumbStyle property.
Declaration
public static readonly BindableProperty LeftThumbStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
LeftTooltipStyleProperty
Gets or sets the LeftTooltipStyle property.
Declaration
public static readonly BindableProperty LeftTooltipStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
MajorScaleStyleProperty
Gets or sets the MajorScaleStyle property.
Declaration
public static readonly BindableProperty MajorScaleStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
MaximumProperty
Gets or sets the Maximum property.
Declaration
public static readonly BindableProperty MaximumProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
MinimumProperty
Gets or sets the Minimum property.
Declaration
public static readonly BindableProperty MinimumProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
MinorScaleStyleProperty
Gets or sets the MinorScaleStyle property.
Declaration
public static readonly BindableProperty MinorScaleStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
OverlayColorProperty
Gets or sets the OverlayColor property.
Declaration
public static readonly BindableProperty OverlayColorProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
RightThumbStyleProperty
Gets or sets the RightThumbStyle property.
Declaration
public static readonly BindableProperty RightThumbStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
RightTooltipStyleProperty
Gets or sets the RightTooltipStyle property.
Declaration
public static readonly BindableProperty RightTooltipStyleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TooltipFormatProperty
Gets or sets the TooltipFormat property.
Declaration
public static readonly BindableProperty TooltipFormatProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ViewRangeEndProperty
Gets or sets the ViewRangeEnd property.
Declaration
public static readonly BindableProperty ViewRangeEndProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ViewRangeStartProperty
Gets or sets the ViewRangeStart property.
Declaration
public static readonly BindableProperty ViewRangeStartProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
XBindingPathProperty
Gets or sets the XBindingPath property.
Declaration
public static readonly BindableProperty XBindingPathProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
YBindingPathProperty
Gets or sets the YBindingPath property.
Declaration
public static readonly BindableProperty YBindingPathProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
Properties
Content
Gets or Sets the RangeNavigator content. By default, this will return chart with axis and grid lines collapsed. You can also add your own chart with the desired chart type.
Declaration
public View Content { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.View |
Remarks
Currently, you can add only SfChart as RangeNavigator content.
DeferredUpdateDelay
Gets or sets the timeline of deffered update delay.
Declaration
public double DeferredUpdateDelay { get; set; }
Property Value
| Type |
|---|
| System.Double |
EnableDeferredUpdate
Gets or sets a value that indicating whether the range changed event notification is deferred. Otherwise, range changed event will be notified for every movement of the thumbs which will degrade the scrolling performance if you are updating other views and do some time consuming tasks in the range changed event handler.
Declaration
public bool EnableDeferredUpdate { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
EnableTooltip
Gets or sets a value indicating whether the tooltip is enabled.
Declaration
public bool EnableTooltip { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Intervals
Gets or Sets the major and minor scale intervals. By default, Intervals contain all the components of DateTimeIntervalType. Based on the available size of the view, best possible interval component will be choosen for both major and minor scales. If you prefer to view only specific components, you can set only the required DateTimeIntervalType components using this property.
Declaration
public Nullable<DateTimeIntervalType> Intervals { get; set; }
Property Value
| Type |
|---|
| System.Nullable<DateTimeIntervalType> |
ItemsSource
Gets or Sets the data source for RangeNavigator. By default, data will be plotted using line series. You can also change the series type using Content property.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
| Type |
|---|
| System.Collections.IEnumerable |
LeftThumbStyle
Gets or Sets the options to customize the left thumb style.
Declaration
public ThumbStyle LeftThumbStyle { get; set; }
Property Value
| Type |
|---|
| ThumbStyle |
LeftTooltipStyle
Gets or Sets the options to customize the left tooltip style.
Declaration
public TooltipStyle LeftTooltipStyle { get; set; }
Property Value
| Type |
|---|
| TooltipStyle |
MajorScaleStyle
Gets or Sets the options to customize the major scale elements such as ticks and labels.
Declaration
public ScaleStyle MajorScaleStyle { get; set; }
Property Value
| Type |
|---|
| ScaleStyle |
Maximum
Gets or Sets the maximum date that a user can select in the RangeNavigator.
Declaration
public DateTime Maximum { get; set; }
Property Value
| Type |
|---|
| System.DateTime |
Minimum
Gets or Sets the minimum date that a user can select in the RangeNavigator.
Declaration
public DateTime Minimum { get; set; }
Property Value
| Type |
|---|
| System.DateTime |
MinorScaleStyle
Gets or Sets the options to customize the minor scale elements such as ticks and labels.
Declaration
public ScaleStyle MinorScaleStyle { get; set; }
Property Value
| Type |
|---|
| ScaleStyle |
OverlayColor
Gets or Sets the overlay color of unselected region.
Declaration
public Color OverlayColor { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
RightThumbStyle
Gets or Sets the options to customize the right thumb style.
Declaration
public ThumbStyle RightThumbStyle { get; set; }
Property Value
| Type |
|---|
| ThumbStyle |
RightTooltipStyle
Gets or Sets the options to customize the right tooltip style.
Declaration
public TooltipStyle RightTooltipStyle { get; set; }
Property Value
| Type |
|---|
| TooltipStyle |
SelectedData
Gets the selected data.
Declaration
public IEnumerable SelectedData { get; }
Property Value
| Type |
|---|
| System.Collections.IEnumerable |
TooltipFormat
Gets or Sets the format for the date displayed in the tooltip.
Declaration
public string TooltipFormat { get; set; }
Property Value
| Type |
|---|
| System.String |
ViewRangeEnd
Gets or Sets the end date of the selected range in the view.
Declaration
public Nullable<DateTime> ViewRangeEnd { get; set; }
Property Value
| Type |
|---|
| System.Nullable<System.DateTime> |
ViewRangeStart
Gets or Sets the start date of the selected range in the view.
Declaration
public Nullable<DateTime> ViewRangeStart { get; set; }
Property Value
| Type |
|---|
| System.Nullable<System.DateTime> |
XBindingPath
Gets or Sets the X property binding path to map from custom object to RangeNavigator.
Declaration
public string XBindingPath { get; set; }
Property Value
| Type |
|---|
| System.String |
YBindingPath
Gets or Sets the Y property binding path to map from custom object to RangeNavigator.
Declaration
public string YBindingPath { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
OnBindingContextChanged()
Override this method to execute an action when the BindingContext changes.
Declaration
protected override void OnBindingContextChanged()
Events
MajorScaleLabelsCreated
Occurs when major scale labels are created.
Declaration
public event EventHandler<MajorScaleLabelsCreatedEventArgs> MajorScaleLabelsCreated
Event Type
| Type |
|---|
| System.EventHandler<MajorScaleLabelsCreatedEventArgs> |
MinorScaleLabelsCreated
Occurs when minor scale labels are created.
Declaration
public event EventHandler<MinorScaleLabelsCreatedEventArgs> MinorScaleLabelsCreated
Event Type
| Type |
|---|
| System.EventHandler<MinorScaleLabelsCreatedEventArgs> |
RangeChanged
Triggered whenever range changes.
Declaration
public event EventHandler<RangeChangedEventArgs> RangeChanged
Event Type
| Type |
|---|
| System.EventHandler<RangeChangedEventArgs> |