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

Change height of cells in MonthView

1 Answer 130 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kairat
Top achievements
Rank 1
Kairat asked on 14 Jun 2012, 08:34 AM
How change height of cells in MonthView?

The answer presented here does not work: http://www.telerik.com/community/forums/silverlight/scheduleview/month-view-style.aspx 
<!-- NOTE: here is set the minimum height for the month view group headers -->
<Setter Property="MinHeight" Value="28" /> 


1 Answer, 1 is accepted

Sort by
0
Accepted
Dani
Telerik team
answered on 15 Jun 2012, 12:11 PM
Hi Kairat,

The Metro theme bears a different control template for RadScheduleView than other themes. To reduce the size of slots in MonthView you should edit the MonthViewBottomLevelWeekGroupStyle and set margin and padding to 0. Also remove the MinHeight.

Next, set a fixed size to the RadScheduleView control.

If your scenario allows it, you can hide the week group headers or remove the layout transform so that they appear horizontal. Both will result in reduced MonthView height. A sample is attached.

Hope it helps.

Regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Kairat
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or