I have inside ToolTip for Appointment line
<TextBlock Text="{Binding Path=Appointment, Converter={StaticResource DateFormatConverter}}" />
to format both DateTime value (Start and End) in format what is suitable for our application.
It works after loading of Appointments, but after update Start/End in application form or by dragging is not called Converter to refresh Tooltip.
I have tried many variants but not any was successful.
Then I download example 314907_ScheduleView-CustomToolTip and modify ToolTip
<
ToolTipService.ToolTip
>
<
ToolTip
>
<
Grid
>
<
Border
Background
=
"LightBlue"
MinWidth
=
"100"
Margin
=
"-20 -4"
Padding
=
"5"
>
<
StackPanel
Orientation
=
"Vertical"
>
<
TextBlock
Text
=
"{Binding Subject}"
/>
<
TextBlock
Text
=
"{Binding Path=Appointment}"
/>
</
StackPanel
>
</
Border
>
</
Grid
>
</
ToolTip
>
</
ToolTipService.ToolTip
>
In second line is default conversion of Appointment which includes DateTime of Start and End.
After dragging to another day is tooltip not changed as in my application. See images.
I think Tooltip is generated only one times.
I previously use RadScheduler where was reference to Appointment in form Path=Occurrence.Appointment
and it works fine without problem.
What I shell to do in ScheduleView to update Start and End values in Tooltip?
Regards