alignment magic sauce

3 posts, 1 answers
  1. Randy Hompesch
    Randy Hompesch avatar
    70 posts
    Member since:
    Nov 2008

    Posted 10 May Link to this post

    Hi,

    All I want to do is have the text of the chosen date right aligned in the textbox. I've tried all the different alignment and content alignment options I can think of and nothing works. Can someone please share the magic sauce?

    Thanks .... Ed

     

     

    <telerik:RadDateTimePicker x:Name="txtOpenDate" Width="175" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left"
     
                           CalendarStyle="{StaticResource calendarStyle}"                                   
                           InputMode="DatePicker" SelectedValue="{Binding OpenedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }"/>
  2. Answer
    Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    603 posts

    Posted 12 May Link to this post

    Hello Ed,

    I believe setting the TextAlignment property of the control to Right should provide the desired result. Please let me know if this is the case.

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Randy Hompesch
    Randy Hompesch avatar
    70 posts
    Member since:
    Nov 2008

    Posted 16 May in reply to Dilyan Traykov Link to this post

    Doh! Missed that.

    Thanks .... Ed

     

Back to Top