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

Stick appointment times to the grid while resizing them or moving them...

4 Answers 51 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Jonx
Top achievements
Rank 2
Jonx asked on 28 Feb 2011, 10:05 PM
Hello,
How can I make the appointments sticks to the grid while using the mouse to resize or move them around?
I would like them to stick to a quarter of an hour for exemple. Goind to the minute is cool but not in my case...
How can I do that, thanks.
John.

4 Answers, 1 is accepted

Sort by
0
Accepted
Boyan
Telerik team
answered on 01 Mar 2011, 10:49 AM
Hello John,

You can set this property: 
SnapAppointments = "True"
This will make the appointment resize exactly to the grid. So you need to set MinorTickLenght to 15 minutes and the appointments will resize/move to a quarter of an hour.

Don't hesitate to contact us if you have other questions.


All the best,
Boyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Jonx
Top achievements
Rank 2
answered on 01 Mar 2011, 04:08 PM
Thanks it's working but strangely this is a global parameter. Why not have this possible per view?
Thanks again...
John.
0
Boyan
Telerik team
answered on 03 Mar 2011, 02:20 PM
Hi John,

We will consider changing the behavior so this property will be per view. As a workaround you can create a Converter where to return true and false for the SnapAppointments property according to the ActiveViewDefinition. The XAML will be something like this:
SnapAppointments = {Binding ActiveViewDefinition, Converter={StaticResource MyConverter}}


Regards,
Boyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Jonx
Top achievements
Rank 2
answered on 03 Mar 2011, 03:21 PM
Ok, works for me...
Thank you Boyan,
John.
Tags
ScheduleView
Asked by
Jonx
Top achievements
Rank 2
Answers by
Boyan
Telerik team
Jonx
Top achievements
Rank 2
Share this question
or