TimePicker to Fit Window

2 posts, 1 answers
  1. Ezequiel
    Ezequiel avatar
    36 posts
    Member since:
    Oct 2011

    Posted 11 May 2012 Link to this post

    I have a window 314 x 314.

    I have a DateTimePicker and a TimePicker.
    I need to set the TimePicker selecion DropDown to fit in this window size.
    How can I do that?

  2. Answer
    Peter avatar
    1148 posts

    Posted 15 May 2012 Link to this post

    Hello Ezequiel,

    Thank you for contacting Telerik support.

    To achieve your scenario, you should set the TimePickerElement.PopupMinSize property:
    radTimePicker1.TimePickerElement.PopupMinSize = new System.Drawing.Size(314, 314)

    I hope this helps. Do not hesitate to contact us if you have other questions.

    All the best,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft R3 2016 release webinar banner
Back to Top