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

[Solved] Group Header Height Problem

1 Answer 105 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.
Alapan
Top achievements
Rank 1
Alapan asked on 29 Aug 2011, 12:39 PM
I am setting different height of Appointment based on Some conditions using OrientedAppointmentItemStyleSelector class. It is working fine but the issue I am facing is with Group Header. The Group Header Height is not getting increased when the appointment height is more than the group header. So to resolved this I placed below tags in OrientedGroupHeaderStyleSelector, but still I am the group header is not getting expanded. I have attached a screen shot for your reference. It is very very urgent  and looking for quick response

<telerik:OrientedGroupHeaderStyleSelector x:Key="GroupHeaderStyle">
            <telerik:OrientedGroupHeaderStyleSelector.VerticalStyle>
                <Style TargetType="telerik:GroupHeader">
                    <Setter Property="Padding" Value="0 0 0 25"></Setter>
                    <Setter Property="MinHeight" Value="200"></Setter>
                    <Setter Property="MaxHeight" Value="Auto"></Setter>
                    <Setter Property="Height" Value="Auto"></Setter>
                </Style>
            </telerik:OrientedGroupHeaderStyleSelector.VerticalStyle>
        </telerik:OrientedGroupHeaderStyleSelector>

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 01 Sep 2011, 07:32 AM
Hello,

The RadScheduleView is not supposed to work with different appointment heights. In your case you have no overlapping appointments. We have a sort of special algorithm that lay out the intersecting appointments. The RadScheduleView has these two properties - MinAppointmentHeight and MinAppointmentWidth that set the appointment sizing.

All the best,
Pana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
ScheduleView
Asked by
Alapan
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or