This is a migrated thread and some comments may be shown as answers.

Determine Orientation

3 Answers 14 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Philipp
Top achievements
Rank 1
Philipp asked on 03 Nov 2011, 11:08 AM
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...

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 03 Nov 2011, 04:04 PM
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 >>

0
Forest
Top achievements
Rank 1
answered on 12 Dec 2011, 03:34 PM
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
0
Valeri Hristov
Telerik team
answered on 15 Dec 2011, 08:54 AM
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 >>

Tags
ScheduleView
Asked by
Philipp
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Forest
Top achievements
Rank 1
Share this question
or