Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfDateTimePicker<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfDateTimePicker<TValue>

    The DateTimePicker is a graphical user interface component that allows the user to select or enter a date value.

    Inheritance
    System.Object
    SfBaseComponent
    SfInputTextBase<TValue>
    CalendarBase<TValue>
    SfDatePicker<TValue>
    SfDateTimePicker<TValue>
    Inherited Members
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.POPUP
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.DATE_PICKER
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ARIA_EXPANDED
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.TRUE
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ACTIVE
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.READ_ONLY
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.INPUT_FOCUS
    SfDatePicker<TValue>.DATE_ICON
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MODEL
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.BODY
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MODEL_HEADER
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MODEL_YEAR
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MODEL_DAY
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MODEL_MONTH
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.POPUP_HOLDER
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.FocusIn()
    SfDatePicker<TValue>.FocusAsync()
    SfDatePicker<TValue>.FocusOutAsync()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.FocusOut()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.GetPersistData()
    SfDatePicker<TValue>.GetPersistDataAsync()
    SfDatePicker<TValue>.ShowPopupAsync(EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.Show(System.EventArgs)
    SfDatePicker<TValue>.HidePopupAsync(EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.Hide(System.EventArgs)
    SfDatePicker<TValue>.CurrentView()
    SfDatePicker<TValue>.NavigateAsync(CalendarView, TValue)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.NavigateTo(Syncfusion.Blazor.Calendars.CalendarView, TValue)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.HidePopup(System.EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ClosePopup()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.OnInitializedAsync()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.OnParametersSetAsync()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.OnAfterRenderAsync(System.Boolean)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.GetClientProperties()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.UpdateValue(System.Object)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.GetDefaultCulture()
    SfDatePicker<TValue>.FormatValueAsString(TValue)
    SfDatePicker<TValue>.FormatValue(String)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.StrictModeUpdate(System.Boolean)
    SfDatePicker<TValue>.UpdateDateTimePopupState(Boolean)
    SfDatePicker<TValue>.ClientPopupRender()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsDateTimeType()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsDateTimeOffsetType()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ChangeHandler(Microsoft.AspNetCore.Components.ChangeEventArgs)
    SfDatePicker<TValue>.InputHandler(ChangeEventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.InvokeFocusEvent(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.InvokeBlurEvent(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.FocusHandler(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.FocusOutHandler(Microsoft.AspNetCore.Components.Web.FocusEventArgs)
    SfDatePicker<TValue>.InvokeClearBtnEvent(EventArgs)
    SfDatePicker<TValue>.UpdateValidateClass()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.MouseIconHandler(System.EventArgs, System.String)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.TimeIconHandler(System.EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.InvokeOpenEvent(System.Boolean, System.EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.DateIconHandler()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.HideTimePopup()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.InvokeChangeEvent(System.EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ChangeEvent(System.EventArgs)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.SelectCalendar()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.UpdateInput()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.UpdateErrorClass()
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ConvertGeneric(System.DateTime)
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ROOT
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.CONTAINER_CLASS
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ChildContent
    SfDatePicker<TValue>.AllowEdit
    SfDatePicker<TValue>.FloatLabelType
    SfDatePicker<TValue>.BaseFloatLabelType
    SfDatePicker<TValue>.Format
    SfDatePicker<TValue>.HtmlAttributes
    SfDatePicker<TValue>.InputAttributes
    SfDatePicker<TValue>.BaseHtmlAttributes
    SfDatePicker<TValue>.BaseInputAttributes
    SfDatePicker<TValue>.Placeholder
    SfDatePicker<TValue>.BasePlaceholder
    SfDatePicker<TValue>.Readonly
    SfDatePicker<TValue>.BaseReadonly
    SfDatePicker<TValue>.BaseIsReadOnlyInput
    SfDatePicker<TValue>.ShowClearButton
    SfDatePicker<TValue>.BaseShowClearButton
    SfDatePicker<TValue>.StrictMode
    SfDatePicker<TValue>.Width
    SfDatePicker<TValue>.BaseWidth
    SfDatePicker<TValue>.ZIndex
    SfDatePicker<TValue>.TabIndex
    SfDatePicker<TValue>.BaseTabIndex
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.DatePickerParent
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsDevice
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.DateIcon
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.CalendarClass
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.PopupElement
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.PopupHolderEle
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ModelYear
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ModelDay
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ModelMonth
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsCalendarRendered
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.PopupEventArgs
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ChangedEventArgs
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.ShowPopupCalendar
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.PreviousElementValue
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsCalendarRender
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsListRender
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.PopupContainer
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.CurrentCulture
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.CalendarBaseInstance
    SfDatePicker<TValue>.TimePart
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.IsDatePickerPopup
    Syncfusion.Blazor.Calendars.CalendarBase<TValue>.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
    CalendarBase<TValue>.CalendarEditContext
    CalendarBase<TValue>.FirstDayOfWeek
    CalendarBase<TValue>.CalendarMode
    CalendarBase<TValue>.DayHeaderFormat
    CalendarBase<TValue>.Depth
    CalendarBase<TValue>.KeyConfigs
    CalendarBase<TValue>.Start
    CalendarBase<TValue>.ServerTimezoneOffset
    CalendarBase<TValue>.ShowTodayButton
    CalendarBase<TValue>.WeekNumber
    CalendarBase<TValue>.WeekRule
    SfInputTextBase<TValue>.CONTROL_CONTAINER
    SfInputTextBase<TValue>.CONTROL_OLD_CONTAINER
    SfInputTextBase<TValue>.INPUTGROUP
    SfInputTextBase<TValue>.CLEARICONHIDE
    SfInputTextBase<TValue>.MULTILINE
    SfInputTextBase<TValue>.DISABLE
    SfInputTextBase<TValue>.INPUT
    SfInputTextBase<TValue>.INPUTFOCUS
    SfInputTextBase<TValue>.FLOATINPUT
    SfInputTextBase<TValue>.FLOATTEXT
    SfInputTextBase<TValue>.FLOATLABELBOTTOM
    SfInputTextBase<TValue>.FLOATLABELTOP
    SfInputTextBase<TValue>.INCREMENT_TITLE
    SfInputTextBase<TValue>.DECREMENT_TITLE
    SfInputTextBase<TValue>.INCREMENT
    SfInputTextBase<TValue>.DECREMENT
    SfInputTextBase<TValue>.DISABLED_ATTR
    SfInputTextBase<TValue>.ARIA_DISABLED
    SfInputTextBase<TValue>.APPEND
    SfInputTextBase<TValue>.PREPEND
    SfInputTextBase<TValue>.CLEAR_ICON_HIDE
    SfInputTextBase<TValue>.GROUP_ICON
    SfInputTextBase<TValue>.SPACE
    SfInputTextBase<TValue>.SPIN_DOWN
    SfInputTextBase<TValue>.SPIN_UP
    SfInputTextBase<TValue>.DISABLE_ICON
    SfInputTextBase<TValue>.OnInputHandler(ChangeEventArgs)
    SfInputTextBase<TValue>.OnPasteHandler(ClipboardEventArgs)
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.BlurHandler()
    SfInputTextBase<TValue>.OnChangeHandler(ChangeEventArgs)
    SfInputTextBase<TValue>.WireClearBtnEvents()
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnChange
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnInput
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnPaste
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnBlur
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.OnFocus
    SfInputTextBase<TValue>.ID
    SfInputTextBase<TValue>.Value
    SfInputTextBase<TValue>._value
    SfInputTextBase<TValue>.ValueChanged
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ValueExpression
    SfInputTextBase<TValue>.InputEditContext
    SfInputTextBase<TValue>.CssClass
    SfInputTextBase<TValue>.EnablePersistence
    SfInputTextBase<TValue>.EnableRtl
    SfInputTextBase<TValue>.Enabled
    SfInputTextBase<TValue>.ValidateOnInput
    SfInputTextBase<TValue>.MultilineInput
    SfInputTextBase<TValue>.BaseAutocomplete
    SfInputTextBase<TValue>.ContainerAttr
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.SpinButton
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ValueTemplate
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.IsValueTemplate
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ClickStopPropagation
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.MouseDowSpinnerPrevent
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.PreventIconHandler
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.MousePreventContainer
    SfInputTextBase<TValue>.ListOfButtons
    SfInputTextBase<TValue>.DataId
    SfInputTextBase<TValue>.inputAttr
    SfInputTextBase<TValue>.containerAttributes
    SfInputTextBase<TValue>.FloatLabel
    SfInputTextBase<TValue>.ClearElement
    SfInputTextBase<TValue>.IsFocused
    SfInputTextBase<TValue>.IncrementTitle
    SfInputTextBase<TValue>.DecrementTitle
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.ContainerClass
    Syncfusion.Blazor.Inputs.SfInputTextBase<TValue>.RootClass
    SfInputTextBase<TValue>.ComponentReference
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Calendars
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SfDateTimePicker<TValue> : SfDatePicker<TValue>
    Type Parameters
    Name Description
    TValue

    Specifies the type of SfDateTimePicker.

    Constructors

    SfDateTimePicker()

    Declaration
    public SfDateTimePicker()

    Properties

    Max

    Gets or sets the maximum time value that can be allowed to select in DateTimePicker.

    Declaration
    public override DateTime Max { get; set; }
    Property Value
    Type Description
    System.DateTime
    Overrides
    Syncfusion.Blazor.Calendars.CalendarBase<TValue>.Max

    Min

    Gets or sets the minimum time value that can be allowed to select in DateTimePicker.

    Declaration
    public override DateTime Min { get; set; }
    Property Value
    Type Description
    System.DateTime
    Overrides
    Syncfusion.Blazor.Calendars.CalendarBase<TValue>.Min

    ScrollTo

    Specifies the scroll bar position, if there is no value is selected in the DateTimePicker popup list or the given value is not present in the DateTimePicker popup list.

    Declaration
    public Nullable<DateTime> ScrollTo { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    Step

    Specifies the time interval between the two adjacent time values in the time popup list .

    Declaration
    public int Step { get; set; }
    Property Value
    Type Description
    System.Int32

    TimeFormat

    Specifies the format of the time value that to be displayed in time popup list.

    Declaration
    public string TimeFormat { get; set; }
    Property Value
    Type Description
    System.String

    TimeIcon

    Declaration
    protected string TimeIcon { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
    Overrides
    Syncfusion.Blazor.Calendars.SfDatePicker<TValue>.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)

    ShowDatePopup()

    Opens the popup to show the calendar.

    Declaration
    public Task ShowDatePopup()
    Returns
    Type Description
    System.Threading.Tasks.Task

    The System.Threading.Tasks.Task.

    ShowDatePopupAsync()

    Opens the popup to show the list items.

    Declaration
    public Task ShowDatePopupAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    The System.Threading.Tasks.Task.

    ShowTimePopup()

    Opens the popup to show the list items.

    Declaration
    public Task ShowTimePopup()
    Returns
    Type Description
    System.Threading.Tasks.Task

    The System.Threading.Tasks.Task.

    ShowTimePopupAsync()

    Opens the popup to show the list items.

    Declaration
    public Task ShowTimePopupAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    The System.Threading.Tasks.Task.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved