alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Enum SliderDateIntervalType

    Indicates the type of the DateIntervalType. It can be years to seconds.

    Namespace: Syncfusion.Maui.Sliders
    Assembly: Syncfusion.Maui.Sliders.dll
    Syntax
    public enum SliderDateIntervalType

    Fields

    Name Description
    Auto

    Denotes the slider date interval as auto. For example, if the Minimum is DateTime(2000, 01, 01), the Maximum is DateTime(2001, 01, 01), Interval is 0, and consider the screen size as 350, the labels will get render for Jan 01, 2000, Jul 01, 2000, and Nov 01, 2000 respectively. Based on the screen size, the Interval, IntervalType, and DateFormat will get changed.

    Days

    Denotes the slider date interval as days. For example, if Minimum is DateTime(2000, 01, 01, 00) and Maximum is DateTime(2000, 01, 25, 24) and Interval"/> is 5 and DateIntervalType is Day then range slider will render labels for Jan 01, 2000, Jan 06, 2000, Jan 11, 2000, Jan 16, 2000, Jan 21, 2001 and Jan 26, 2001 respectively.

    Hours

    Denotes the slider date interval as hours. For example, if Minimum is DateTime(2000, 01, 01, 09) and Maximum is DateTime(2000, 01, 01, 17) and Interval"/> is 4 and DateIntervalType is Hour then range slider will render labels for Jan 01, 2000 09:00, Jan 01, 2000 13:00, and Jan 01, 2000 17:00 respectively.

    Minutes

    Denotes the slider date interval as minutes. For example, if Minimum is DateTime(2000, 01, 01, 09) and Maximum is DateTime(2000, 01, 01, 10) and Interval"/> is 15 and DateIntervalType is Minute then range slider will render labels for Jan 01, 2000 09:00, Jan 01, 2000 09:15, Jan 01, 2000 09:30, Jan 01, 2000 09:45 and Jan 01, 2000 10:00 respectively.

    Months

    Denotes the slider date interval as months. For example, if Minimum is DateTime(2000, 01, 01, 00) and Maximum is DateTime(2000, 12, 31, 24) and Interval"/> is 3 and DateIntervalType is Month then slider or range slider will render labels for Jan 01, 2000, Apr 01, 2000, Jul 01, 2000, Oct 01, 2000 and Jan 01, 2001 respectively.

    Seconds

    Denotes the slider date interval as seconds. For example, if Minimum is DateTime(2000, 01, 01, 09, 00) and Maximum is DateTime(2000, 01, 01, 09, 01) and Interval"/> is 20 and DateIntervalType is Second then range slider will render labels for Jan 01, 2000 09:00:00, Jan 01, 2000 09:00:20, Jan 01, 2000 09:00:40, and Jan 01, 2000 09:01:00 respectively.

    Years

    Denotes the slider date interval as years. For example, if Minimum is DateTime(2000, 01, 01, 00) and Maximum is DateTime(2005, 12, 31, 24) and Interval"/> is 1 and DateIntervalType is Year then slider or range slider will render labels for 2000, 2001, 2002, 2003, 2004, 2005, 2006 respectively.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved