Setting appointment text right justified

2 posts, 0 answers
  1. Grant
    Grant avatar
    9 posts
    Member since:
    Apr 2015

    Posted 30 Jun 2015 Link to this post

    Is it possible to set the displayed text of an appointment to be right justified? I am using the scheduler control somewhat differently, with only one appointment displayed for each day, and the text of the appointment is simply a number that tells the user the number of openings on that day. Clicking on the appointment displays further details in other controls. For the text, I am setting the Summary property of the appointment (although I could do something different if necessary).

    Numbers are typically right justified, and I would like to do this in the displayed text of the appointment.

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3320 posts

    Posted 01 Jul 2015 Link to this post

    Hello Grant,

    Thank you for writing.

    It is appropriate to use the AppointmentFormatting event and modify the TextAlignment property for the AppointmentElement. Please refer to the Formatting appointments help article which is quit useful on this topic.

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

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top