How make AppointmentTemplate larger

2 posts, 0 answers
  1. Steve Chadbourne
    Steve Chadbourne avatar
    23 posts
    Member since:
    Nov 2009

    Posted 17 Oct 2013 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 18 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top