Determine Orientation

4 posts, 0 answers
  1. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 03 Nov 2011 Link to this post

    Is there a way to determine whether a schedule is aligned horizontally or vertically from withing the ControlTemplate of an AppointmentItem? I would like to not create invididual control templates for my appointment items just in order to align the resize grips...
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 03 Nov 2011 Link to this post

    Hi Philipp,

    The AppointmentItem class has no Orientation property or a property that can be used to determine what's the current orientation of its parent ScheduleView control. Probably we will add such property in the future, but currently you have no other option but developing two control templates.

    Regards,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 12 Dec 2011 Link to this post

    Hi,

    I have a similar problem.

    In Day or Week View definition, the appointment resize grips are localised on the left and on the right.
    I would like to have these grips at top and bottom.

    How it is possible please ?

    Mathieu
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Dec 2011 Link to this post

    Hello Forest,

    Please check the following help article that describes how to implement the two orientations:
    http://www.telerik.com/help/silverlight/radscheduleview-styles-and-templates-appointment-style.html

    Best wishes,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top