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

Appointment stretch to fill day in MonthView.

2 Answers 147 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Veteran
Brandon asked on 23 Jan 2018, 06:20 PM
I am using the RadScheduleView with only the MonthViewDefinition.  In my application, there is no more than a single appointment per day.  I want the appointment to stretch vertically to fill the cell for that day.  I have tried increasing the MinAppointmentHeight property, but anything over 83 causes an expand button to be shown, and the appointment is not visible until I click the expand button.  Also, the bottom portion of the day is taken up by the expand button, when I want to use the appointment for the entire area.  I've attached several screenshots showing the current behavior, and an edited screenshow showing the desired behavior.

2 Answers, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 26 Jan 2018, 05:10 PM
Hi Brandon,

Thank you for contacting us.

This can be achieved by modifying modifying the MonthView GroupHeaders' bottom padding. You would have to modify the default MonthViewBottomLevelWeekGroupStyle through the RadScheduleView GroupHeaderStyleSelector. For more details please check the following help article:
https://docs.telerik.com/devtools/wpf/controls/radscheduleview/styles-and-templates/styling-groupheaders

I have prepared and attached a sample project demonstrating the exact approach.

Hope this helps.

Regards,
Kalin
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Brandon
Top achievements
Rank 1
Veteran
answered on 27 Jan 2018, 07:06 PM

Kalin,

That worked, thanks!

Brandon

Tags
ScheduleView
Asked by
Brandon
Top achievements
Rank 1
Veteran
Answers by
Kalin
Telerik team
Brandon
Top achievements
Rank 1
Veteran
Share this question
or