How to align the text to the left

2 posts, 0 answers
  1. Paul Cahoon
    Paul Cahoon avatar
    1 posts
    Member since:
    Jun 2010

    Posted 09 Mar 2011 Link to this post

    I have a DateTimePicker and after the user selects a value that text in the textbox is align to the right just as a RadComboBoxItem.  The RadComboBox has a SelectAllTextEvent
    http://www.telerik.com/help/silverlight/radcombobox-how-to-align-to-the-left-the-text-of-the-comboboxitem-when-it-is-too-long2.html

    Does anyone know how I would do this on the DateTimePicker?

    Thanks,
     Paul
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 14 Mar 2011 Link to this post

    Hi Paul,

     The DateTimePicker control has a TextAlignment property. You could use it for this purpose.

    Hope this helps!

    Greetings,
    Miroslav Nedyalkov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top