> Thanks Its works find. In order to put biggest image, Is it possible to specify the different Height of the appointment that appear in the scheduler, in Monthly, weekly and Daily view ?
Unfortunately it isn't possible for month view in the current version. Appointment height is set automatically.
You may try one of the next:
- scale image. If you set image height and width in IntervalAppointmentTemplate, image will be scaled to this size automatically;
- set negative margins for image or for it's container in order to show image out of appointment
borders as it is shown on your screenshot.
in a Day View appointment height is set according to appointment duration. So, if you change DayView style and set time slot height for bigger value, you may get desired appointment height. To do so, you can copy C1Scheduler_TimeRuler_Template from source xaml into your theme ResourceDictionary and set desired height for ItemTemplate in IntervalMarkersList:
<DataTemplate x:Key="C1Scheduler_TimeRuler_Template">
<Grid Name="OneHourGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition MinWidth="20" SharedSizeGroup="Minutes" />
</Grid.ColumnDefinitions>
<ItemsControl Grid.Column="1" x:Name="IntervalMarkersList" ItemsSource="{Binding Items}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<!-- ***** set height in the next line -->
<Border BorderThickness="0,1px,0,0" Margin="0,0,4,0" SnapsToDevicePixels="True" Height="30"
BorderBrush="{DynamicResource C1Scheduler_ControlAreaLines_Brush}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
...