Office 2013 Appoinment Template display issue

4 posts, 0 answers
  1. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 13 Jan 2014 Link to this post

    Hi,

    I create a custom data template for my appointments and I always have a vertical white bar at the left of each cell (picture enclosed). I would like to know if it's possible to remove it.

    Thank's
    Alain
  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 15 Jan 2014 Link to this post

    Hi Alain,

    This is the default appearance of Appointments and it is intended by design. However you will be able to remove that line by modifying the AppointmentItem vertical and horizontal ControlTemplates, which are needed for the ViewDefinitions with a different orientation. You will need to move the border named PART_TimeMarker right above the rectangle named ReadOnlyVisual. I'm attaching a sample project which demonstrates the exact approach, I have done also some other arrangements of the elements in the template in order to align them correctly.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 WPF is Visual Studio 2017 Ready
  4. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 08 Apr 2014 Link to this post

    Hi Kalin,

    since you last post, with the new version of Telerik, can we acheive this simply by using a property?

    Thank's
    Alain
  5. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 09 Apr 2014 Link to this post

    Hi Alain,

    We have no plans to implement such a property as the desired appearance can be easily achieved by modifying the AppointmentItem Template as demonstrated in the sample project from my previous post.

    If you have any other questions let us know.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top