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

Schedule View Customize Height of Month View Item block

1 Answer 115 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Ketan
Top achievements
Rank 1
Ketan asked on 20 Feb 2015, 06:29 AM
Hi, In attached file i had added image of scenario,
I wants to decrease height of Month View Item block.
Tries to set monthviewitem style but not able to set.
can any one drive/guide  me , how to achieve it ?
u can find image  in attachment.

Thanks & Regards.

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 23 Feb 2015, 09:31 AM
Hi Ketan,

In order to reduce the row height, you will need to customize the GroupHeaderStyleSelector of the ScheduleView and more specifically the MonthViewBottomLevelWeekGroupStyle.  
Please take a look at the MonthViewInitiallyExpanded example in our XAML SDK Repository which demonstrates how you can customize the MonthViewBottomLevelWeekGroupStyle - in your case you will need to set MinHeight property ( its default value is 85), here is a quick example:

<telerik:OrientedGroupHeaderStyleSelector.MonthViewBottomLevelWeekGroupStyle>
  <Style TargetType="telerik:GroupHeader" BasedOn="{StaticResource MonthViewBottomLevelWeekGroupStyle}">                               
      <Setter Property="MinHeight" Value="65" />
 </Style>
</telerik:OrientedGroupHeaderStyleSelector.MonthViewBottomLevelWeekGroupStyle>


Hope it helps.

Regards,
Masha
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.

 
Tags
ScheduleView
Asked by
Ketan
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or