DateTimePicker: Disable resize option

2 posts, 0 answers
  1. Denis Cilliers
    Denis Cilliers avatar
    62 posts
    Member since:
    Jan 2004

    Posted 26 Jul 2013 Link to this post

    How do we stop the DateTimePicker Month resize options

    There is a setting on the TimePicker but I cant find it on the DateTimePicker
  2. Dess
    Admin
    Dess avatar
    1607 posts

    Posted 31 Jul 2013 Link to this post

    Hello Denis,

    Thank you for contacting Telerik Support.

    You should use the following code snippet:
    RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
    calendarBehavior.DropDownSizingMode = SizingMode.None;

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top