menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateRangePickerProperties

    Show / Hide Table of Contents

    Class DateRangePickerProperties

    Inheritance
    System.Object
    EJTagHelper
    DateRangePickerProperties
    Inherited Members
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class DateRangePickerProperties : EJTagHelper

    Constructors

    DateRangePickerProperties()

    Initializes a new instance of the DateRangePickerProperties class.

    Declaration
    public DateRangePickerProperties()

    Properties

    AllowEdit

    allow the user interaction directly with the component to edit in textbox.

    Declaration
    [JsonProperty("allowEdit")]
    public bool AllowEdit { get; set; }
    Property Value
    Type Description
    System.Boolean

    BeforeClose

    Gets or sets a value indicating this event gets fired before DateRangePicker popup closes.

    Declaration
    [JsonProperty("beforeClose")]
    public string BeforeClose { get; set; }
    Property Value
    Type Description
    System.String

    BeforeOpen

    Gets or sets a value indicating this event gets fired before DateRangePicker popup opens.

    Declaration
    [JsonProperty("beforeOpen")]
    public string BeforeOpen { get; set; }
    Property Value
    Type Description
    System.String

    Change

    Gets or sets a value indicating this event gets fired when the date or time value changed in the DateRangePicker textbox.

    Declaration
    [JsonProperty("change")]
    public string Change { get; set; }
    Property Value
    Type Description
    System.String

    Click

    Gets or sets value when the date is clicked in the DateRangePicker textbox.

    Declaration
    [JsonProperty("click")]
    public string Click { get; set; }
    Property Value
    Type Description
    System.String

    Close

    Gets or sets a value indicating this event gets fired when DateRangePicker popup closes.

    Declaration
    [JsonProperty("close")]
    public string Close { get; set; }
    Property Value
    Type Description
    System.String

    Create

    Gets or sets a value indicating this event gets fired when DateRangePicker control is created.

    Declaration
    [JsonProperty("create")]
    public string Create { get; set; }
    Property Value
    Type Description
    System.String

    CssClass

    Gets or sets the root CSS class to DateRangePicker for theme customization.

    Declaration
    [JsonProperty("cssClass")]
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    DateFormat

    Gets or sets the date format to be displayed in date range picker's input field.

    Declaration
    [JsonProperty("dateFormat")]
    public string DateFormat { get; set; }
    Property Value
    Type Description
    System.String

    DateRangePickerButtonText

    Gets or sets the value indicating custom text for the buttons inside the DateRangePicker popup.

    Declaration
    [JsonProperty("buttonText")]
    public DateRangeButtonText DateRangePickerButtonText { get; set; }
    Property Value
    Type Description
    DateRangeButtonText

    Destroy

    Gets or sets a value indicating this event gets fired when the DateRangePicker is destroyed successfully.

    Declaration
    [JsonProperty("destroy")]
    public string Destroy { get; set; }
    Property Value
    Type Description
    System.String

    Enabled

    Gets or sets a value indicating whether the control can respond to user interaction.

    Declaration
    [JsonProperty("enabled")]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnablePersistence

    Gets or set the value indicating DateRangePicker model value even after form post back/browser refresh sustains or not.

    Declaration
    [JsonProperty("enablePersistence")]
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableTimePicker

    Gets or sets the value for enabling TimePickerc in DateRangePicker.

    Declaration
    [JsonProperty("enableTimePicker")]
    public bool EnableTimePicker { get; set; }
    Property Value
    Type Description
    System.Boolean

    EndDate

    Gets or sets a value indicating the start date of the calendar of date range picker.

    Declaration
    [JsonProperty("endDate")]
    public object EndDate { get; set; }
    Property Value
    Type Description
    System.Object

    HeaderFormat

    Gets or sets a value indicating the header format to be displayed in the calendar inside the DateRangePicker popup.

    Declaration
    [JsonProperty("headerFormat")]
    public string HeaderFormat { get; set; }
    Property Value
    Type Description
    System.String

    Height

    Gets or sets a value indicating the height of the DateRangePicker input field.

    Declaration
    [JsonProperty("height")]
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    HtmlAttributes

    Gets or sets the value to map the field of html attributes for the date range picker element.

    Declaration
    [JsonProperty("htmlAttributes")]
    public IDictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    Interval

    Gets or sets a value indicating the time interval between the two adjacent time values in the time popup.

    Declaration
    [JsonProperty("interval")]
    public int Interval { get; set; }
    Property Value
    Type Description
    System.Int32

    IsFor

    Gets or sets a value indicating IsFor property.

    Declaration
    [JsonIgnore]
    public bool IsFor { get; set; }
    Property Value
    Type Description
    System.Boolean

    Locale

    Gets or sets the culture to display the DateRangePicker in the specified culture.

    Declaration
    [JsonProperty("locale")]
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    Open

    Gets or sets a value indicating this event gets fired when DateRangePicker popup opens.

    Declaration
    [JsonProperty("open")]
    public string Open { get; set; }
    Property Value
    Type Description
    System.String

    Ranges

    Gets or sets a value indicating the special dats in the calendar.

    Declaration
    [JsonProperty("ranges")]
    public List<DateRanges> Ranges { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DateRanges>

    Select

    Gets or sets a value indicating this event gets fired when a value is daterangepicker .

    Declaration
    [JsonProperty("select")]
    public string Select { get; set; }
    Property Value
    Type Description
    System.String

    Separator

    Gets or sets the separator to the values given in the DateRangePicker.

    Declaration
    [JsonProperty("separator")]
    public string Separator { get; set; }
    Property Value
    Type Description
    System.String

    ShowOtherMonths

    Gets or sets the value indicating days of adjacent months in the current month calendar of DateRangePicker.

    Declaration
    [JsonProperty("showOtherMonths")]
    public bool ShowOtherMonths { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShowPopupButton

    Gets or sets the value indicating DateRange icon button in the input field.

    Declaration
    [JsonProperty("showPopupButton")]
    public bool ShowPopupButton { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShowRoundedCorner

    Gets or sets the value indicating the DateRangePicker input field and popup with rounded corners or not

    Declaration
    [JsonProperty("showRoundedCorner")]
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    StartDate

    Gets or sets a value indicating the start date of the calendar of date range picker.

    Declaration
    [JsonProperty("startDate")]
    public object StartDate { get; set; }
    Property Value
    Type Description
    System.Object

    StartDay

    Gets or sets a value indicating the calendar's start day of the week in the DateRangePicker popup.

    Declaration
    [JsonProperty("startDay")]
    public int StartDay { get; set; }
    Property Value
    Type Description
    System.Int32

    StepMonths

    Gets or sets a value indicating the number of months to navigate for one click of next and previous buttons in DateRangePicker popup.

    Declaration
    [JsonProperty("stepMonths")]
    public int StepMonths { get; set; }
    Property Value
    Type Description
    System.Int32

    Tag

    Gets or sets the value indicating the tag of the DateRangePicker element.

    Declaration
    [JsonIgnore]
    public string Tag { get; set; }
    Property Value
    Type Description
    System.String

    TimeFormat

    Gets or sets the value indicating the time format to be displayed on time picker input field in date range picker.

    Declaration
    [JsonProperty("timeFormat")]
    public string TimeFormat { get; set; }
    Property Value
    Type Description
    System.String

    TimePopupWidth

    Gets or sets the width of the time dropdown inside DateRangePicker popup.

    Declaration
    [JsonProperty("timePopupWidth")]
    public int TimePopupWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    Value

    Gets or sets the value in the DateTimePicker.

    Declaration
    [JsonProperty("value")]
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object

    WatermarkText

    Gets or sets the place holder value for DateRangePicker input field.

    Declaration
    [JsonProperty("watermarkText")]
    public string WatermarkText { get; set; }
    Property Value
    Type Description
    System.String

    Width

    Gets or sets a value indicating the width of the DateTimePicker input field.

    Declaration
    [JsonProperty("width")]
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    GetControlDetails()

    Declaration
    protected override object GetControlDetails()
    Returns
    Type Description
    System.Object
    Overrides
    EJTagHelper.GetControlDetails()

    ShouldSerializeDateRangePickerButtonText()

    Should serialize method for DateRangePicker ButtonText.

    Declaration
    public bool ShouldSerializeDateRangePickerButtonText()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeDateRangePickerRanges()

    Should serialize method for DateRangePicker Ranges.

    Declaration
    public bool ShouldSerializeDateRangePickerRanges()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved