skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DateTimePicker

Inheritance
System.Object
RadControl
RadHeaderedControl
DateTimePicker
RadDateTimePicker
Inherited Members
RadHeaderedControl.HeaderProperty
RadHeaderedControl.HeaderTemplateProperty
RadHeaderedControl.HeaderStyleProperty
RadHeaderedControl.Header
RadHeaderedControl.HeaderTemplate
RadHeaderedControl.HeaderStyle
RadControl.EndVisualStateUpdate(Boolean, Boolean)
RadControl.UpdateVisualState(Boolean)
RadControl.BeginVisualStateUpdate()
RadControl.SetVisualState(String, Boolean)
RadControl.CanUpdateVisualState()
RadControl.ComposeVisualStateName()
RadControl.ArrangeOverride(Size)
RadControl.OnApplyTemplate()
RadControl.OnIsEnabledChanged(Boolean, Boolean)
RadControl.LoadCore()
RadControl.OnLoaded()
RadControl.CurrentVisualState
RadControl.IsLoaded
RadControl.IsLoading
RadControl.IsUnloaded
RadControl.WasUnloaded
RadControl.IsTemplateApplied
Namespace: Telerik.UI.Xaml.Controls.Input
Assembly: Telerik.WinUI.Controls.dll

Syntax

public abstract class DateTimePicker : RadHeaderedControl

Constructors

DateTimePicker()

Declaration
protected DateTimePicker()

Fields

AutoSizeWidthProperty

Declaration
public static readonly DependencyProperty AutoSizeWidthProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CalendarIdentifierProperty

Declaration
public static readonly DependencyProperty CalendarIdentifierProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CalendarLanguageProperty

Declaration
public static readonly DependencyProperty CalendarLanguageProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CalendarNumeralSystemProperty

Declaration
public static readonly DependencyProperty CalendarNumeralSystemProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DateSelectorOrderProperty

Declaration
public static readonly DependencyProperty DateSelectorOrderProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DisplayModeProperty

Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DisplayValueFormatProperty

Declaration
public static readonly DependencyProperty DisplayValueFormatProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

EmptyContentProperty

Declaration
public static readonly DependencyProperty EmptyContentProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

EmptyContentTemplateProperty

Declaration
public static readonly DependencyProperty EmptyContentTemplateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsOpenProperty

Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsReadOnlyProperty

Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ItemCountProperty

Declaration
public static readonly DependencyProperty ItemCountProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ItemHeightProperty

Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ItemSpacingProperty

Declaration
public static readonly DependencyProperty ItemSpacingProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ItemWidthProperty

Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

MaxValueProperty

Declaration
public static readonly DependencyProperty MaxValueProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

MinValueProperty

Declaration
public static readonly DependencyProperty MinValueProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectorBackgroundStyleProperty

Declaration
public static readonly DependencyProperty SelectorBackgroundStyleProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectorDefaultValueProperty

Declaration
public static readonly DependencyProperty SelectorDefaultValueProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectorHeaderProperty

Declaration
public static readonly DependencyProperty SelectorHeaderProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectorHeaderTemplateProperty

Declaration
public static readonly DependencyProperty SelectorHeaderTemplateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

selectorUtcValue

Declaration
protected DateTime selectorUtcValue
Field Value
System.DateTime

StepProperty

Declaration
public static readonly DependencyProperty StepProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

TimeSelectorOrderProperty

Declaration
public static readonly DependencyProperty TimeSelectorOrderProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ValueProperty

Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ValueStringProperty

Declaration
public static readonly DependencyProperty ValueStringProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

Properties

AutoSizeWidth

Declaration
public bool AutoSizeWidth { get; set; }
Property Value
System.Boolean

CalendarIdentifier

Declaration
public string CalendarIdentifier { get; set; }
Property Value
System.String

CalendarLanguage

Declaration
public string CalendarLanguage { get; set; }
Property Value
System.String

CalendarNumeralSystem

Declaration
public string CalendarNumeralSystem { get; set; }
Property Value
System.String

DateSelectorOrder

Declaration
public string DateSelectorOrder { get; set; }
Property Value
System.String

DisplayMode

Declaration
public DateTimePickerDisplayMode DisplayMode { get; set; }
Property Value
DateTimePickerDisplayMode

DisplayValueFormat

Declaration
public string DisplayValueFormat { get; set; }
Property Value
System.String

EmptyContent

Declaration
public object EmptyContent { get; set; }
Property Value
System.Object

EmptyContentTemplate

Declaration
public DataTemplate EmptyContentTemplate { get; set; }
Property Value
Microsoft.UI.Xaml.DataTemplate

IsOpen

Declaration
public bool IsOpen { get; set; }
Property Value
System.Boolean

IsReadOnly

Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean

ItemCount

Declaration
public int ItemCount { get; set; }
Property Value
System.Int32

ItemHeight

Declaration
public double ItemHeight { get; set; }
Property Value
System.Double

ItemSpacing

Declaration
public double ItemSpacing { get; set; }
Property Value
System.Double

ItemWidth

Declaration
public double ItemWidth { get; set; }
Property Value
System.Double

MaxValue

Declaration
public DateTime MaxValue { get; set; }
Property Value
System.DateTime

MinValue

Declaration
public DateTime MinValue { get; set; }
Property Value
System.DateTime

SelectorBackgroundStyle

Declaration
public Style SelectorBackgroundStyle { get; set; }
Property Value
Microsoft.UI.Xaml.Style

SelectorDefaultValue

Declaration
public Nullable<DateTime> SelectorDefaultValue { get; set; }
Property Value
System.Nullable<System.DateTime>

SelectorHeader

Declaration
public object SelectorHeader { get; set; }
Property Value
System.Object

SelectorHeaderTemplate

Declaration
public DataTemplate SelectorHeaderTemplate { get; set; }
Property Value
Microsoft.UI.Xaml.DataTemplate

Step

Declaration
public DateTimePickerStep Step { get; set; }
Property Value
DateTimePickerStep

TimeSelectorOrder

Declaration
public string TimeSelectorOrder { get; set; }
Property Value
System.String

Value

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

ValueString

Declaration
public string ValueString { get; }
Property Value
System.String

Methods

ApplyTemplateCore()

Declaration
protected override bool ApplyTemplateCore()
Returns
System.Boolean

Overrides
RadControl.ApplyTemplateCore()

GetValueStringFromCalendar(Calendar)

Declaration
protected virtual string GetValueStringFromCalendar(Calendar calendar)
Parameters
Windows.Globalization.Calendar calendar

Returns
System.String

MeasureOverride(Size)

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Windows.Foundation.Size availableSize

Returns
Windows.Foundation.Size

Overrides
RadControl.MeasureOverride(Size)

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer

Overrides
RadHeaderedControl.OnCreateAutomationPeer()

OnKeyDown(KeyRoutedEventArgs)

Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs e

OnTemplateApplied()

Declaration
protected override void OnTemplateApplied()
Overrides
RadControl.OnTemplateApplied()

UnapplyTemplateCore()

Declaration
protected override void UnapplyTemplateCore()
Overrides
RadControl.UnapplyTemplateCore()

UnloadCore()

Declaration
protected override void UnloadCore()
Overrides
RadControl.UnloadCore()

Events

Closed

Declaration
public event EventHandler Closed
Event Type
System.EventHandler

Opened

Declaration
public event EventHandler Opened
Event Type
System.EventHandler

ValueChanged

Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.