Hi all,
i have an realy strange Error with the Scheduler Control.
I generate a bunch of appointments. All Appointments that starts at the WorkStartHour is showing correct. All the others are showing one hour to late.
Here a screenshot:
I don`t find the Error. Any Ideas ?
This is my XML-Code:
<schedule:SfSchedule.AppointmentTemplate>
<DataTemplate>
<DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
<DockPanel.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="{Binding AppointmentColor1}" Offset="0"/>
<GradientStop Color="{Binding AppointmentColor2}" Offset="1"/>
</LinearGradientBrush>
</DockPanel.Background>
<!--{Binding AppointmentBackground}-->
<TextBlock DockPanel.Dock="Top" Text="{Binding Subject}" Height="Auto" Width="Auto" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Foreground="Black" FontWeight="Light" FontFamily="Segoe UI" TextWrapping="Wrap"/>
<Viewbox DockPanel.Dock="Bottom">
<TextBlock Text="{Binding Notes}" Height="Auto" Width="Auto" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Foreground="Black" FontWeight="Light" FontFamily="Segoe UI" TextWrapping="Wrap"/>
</Viewbox>
</DockPanel>
</DataTemplate>
</schedule:SfSchedule.AppointmentTemplate>
<schedule:SfSchedule.CollapsedHours>
<schedule:ScheduleCollapsedHour StartHour="0" EndHour="8" Background="Black"/>
<schedule:ScheduleCollapsedHour StartHour="19" EndHour="0" Background="Black"/>
</schedule:SfSchedule.CollapsedHours>
</schedule:SfSchedule>