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

How make AppointmentTemplate larger

1 Answer 32 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Steve Chadbourne
Top achievements
Rank 1
Steve Chadbourne asked on 18 Oct 2013, 01:09 AM
Hi

I'm using an appointment template on a month view. I want to make it taller so I can put 2 rows ow info on each template but it seems to only allow me a fixed height.

Here is my template
 
<DataTemplate
    x:Key="AppointmentTemplate">
    <StackPanel
        Height="100">
        <Rectangle
            Height="20"
            Width="100"
            Fill="Red"/>
        <TextBlock
            Text="{Binding HrsAvailableString}"
            />
        <TextBlock
            Text="{Binding NumJobsString}" />
    </StackPanel>
</DataTemplate>

I have attached a picture to show the effect I am trying to achieve.

Any ideas?

Cheers

Steve

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 18 Oct 2013, 02:56 PM
Hi Steve,

In order to achieve the desired scenario you could set the MinAppointmentHeight property of the ScheduleView to the desired Height. Please note setting this property may also affect and the size of the appointments in other ViewDefinitions depending on its orientation.

Hope this works for you.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Steve Chadbourne
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or