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
    • Roadmap
    • Release History
  • Support and Learning

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

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • 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 RadDateTimePickerCalendar

Represents the RadDateTimePickerCalendar class

Inheritance
System.Object
RadDateTimePickerBehaviorDirector
RadDateTimePickerCalendar
Inherited Members
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: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadDateTimePickerCalendar : RadDateTimePickerBehaviorDirector, IDisposable

Constructors

RadDateTimePickerCalendar(RadDateTimePickerElement)

Initializes a new instance of the RadDateTimePickerCalendar class with the specified date time picker element.

Declaration
public RadDateTimePickerCalendar(RadDateTimePickerElement dateTimePicker)
Parameters
RadDateTimePickerElement dateTimePicker

The RadDateTimePickerElement that owns this calendar behavior.

Properties

ArrowButton

Gets the RadArrowButtonElement instance that represents the Date Time Picker's arrow button.

Declaration
public RadArrowButtonElement ArrowButton { get; }
Property Value
RadArrowButtonElement

Calendar

Gets or sets the calendar control which is shown when the pop up control is shown

Declaration
public RadCalendar Calendar { get; set; }
Property Value
RadCalendar

DateTimePickerElement

Gets the instance of RadDateTimePickerElement associated to the control

Declaration
public override RadDateTimePickerElement DateTimePickerElement { get; }
Property Value
RadDateTimePickerElement

Overrides
RadDateTimePickerBehaviorDirector.DateTimePickerElement

DropDownMaxSize

Gets or sets the drop down maximum size.

Declaration
public Size DropDownMaxSize { get; set; }
Property Value
System.Drawing.Size

DropDownMinSize

Gets or sets the drop down minimum size.

Declaration
public Size DropDownMinSize { get; set; }
Property Value
System.Drawing.Size

DropDownSizingMode

Gets or sets the drop down sizing mode. The mode can be: horizontal, vertical or a combination of them.

Declaration
public SizingMode DropDownSizingMode { get; set; }
Property Value
SizingMode

FooterPanel

Gets the TimePickerDoneButtonContent instance that provides the footer panel with Done button functionality.

Declaration
public TimePickerDoneButtonContent FooterPanel { get; }
Property Value
TimePickerDoneButtonContent

IsDropDownShow

Gets a value representing whether the drop down is shown

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

LastShowDpiScale

Gets or sets the DPI scale factor from the last time the dropdown was shown, used for proper scaling on DPI changes.

Declaration
public SizeF LastShowDpiScale { get; set; }
Property Value
System.Drawing.SizeF

PopupControl

Gets or sets the drop down control which is shown when the user clicks on the arrow button

Declaration
public RadDateTimePickerDropDown PopupControl { get; set; }
Property Value
RadDateTimePickerDropDown

ShowFooter

Gets or sets a value indicating whether the footer panel with Done button is displayed when the time picker is shown.

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

ShowTimePicker

Gets or sets a value indicating whether the time picker control is displayed alongside the calendar in the dropdown.

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

TextBoxElement

Gets the RadMaskedEditBoxElement instance that provides the text input functionality for date and time values.

Declaration
public override RadMaskedEditBoxElement TextBoxElement { get; }
Property Value
RadMaskedEditBoxElement

Overrides
RadDateTimePickerBehaviorDirector.TextBoxElement

TimePicker

Gets the RadTimePickerContent instance that provides time selection functionality when ShowTimePicker is enabled.

Declaration
public RadTimePickerContent TimePicker { get; }
Property Value
RadTimePickerContent

Methods

CreateCheckBoxElement()

Creates and configures the checkbox element for the date time picker with default alignment and sizing properties.

Declaration
protected virtual RadCheckBoxElement CreateCheckBoxElement()
Returns
RadCheckBoxElement

A configured RadCheckBoxElement instance.

CreateChildren()

Creates dateTimePicker's children

Declaration
public override void CreateChildren()
Overrides
RadDateTimePickerBehaviorDirector.CreateChildren()

Dispose()

Releases all resources used by the RadDateTimePickerCalendar including event subscriptions and child controls.

Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()

IntializeCalendar()

Initializes the calendar control with default settings, creates popup elements, and configures event handlers and date range constraints.

Declaration
protected virtual void IntializeCalendar()

SetDateByValue(Nullable<DateTime>, DateTimePickerFormat)

Sets the date displayed in the text box using the specified date value and format type, handling culture-specific formatting and null values.

Declaration
public override void SetDateByValue(DateTime? date, DateTimePickerFormat formatType)
Parameters
System.Nullable<System.DateTime> date

The date value to set, or null to clear the text box.

System.Windows.Forms.DateTimePickerFormat formatType

The System.Windows.Forms.DateTimePickerFormat that determines how the date should be formatted and displayed.

Overrides
RadDateTimePickerBehaviorDirector.SetDateByValue(Nullable<DateTime>, DateTimePickerFormat)

ShowDropDown()

Shows the drop-down window part of the combo box

Declaration
public virtual void ShowDropDown()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.