This question is locked. New answers and comments are not allowed.
Hello i have an Appointment item with some extended values wich i show in the tooltip.
It works great, but when i change the appointment de tooltip doesnt update.
The tooltip will update if i navigate back and forward 1 day.
The same problem occurs when i want to update the appointment itself but i used the visualtreehelper to find the right uielements.
How can i do this with the Tooltip?
Please help me to manually change or update the tooltip.
Greetings
Marcel de Groot
It works great, but when i change the appointment de tooltip doesnt update.
The tooltip will update if i navigate back and forward 1 day.
The same problem occurs when i want to update the appointment itself but i used the visualtreehelper to find the right uielements.
How can i do this with the Tooltip?
AppointmentsPanel obj = s.FindChildByType<AppointmentsPanel>(); try { var mobjs = obj.ChildrenOfType<AppointmentItem>().FirstOrDefault<AppointmentItem>(p => ((SessionAppointment)p.Appointment).ID == item1.ID); var map = ((SessionAppointment)mobjs.Appointment); map.Field22 = item1.Field22; UIChildFinder.FindChild<Border>(mobjs, "BackgroundStatus").Background = map.LabelBrush; UIChildFinder.FindChild<TextBlock>(mobjs, "AppLabelText").Text = map.LabelText; ToolTip tt = (ToolTip)ToolTipService.GetToolTip(mobjs); ????? }Please help me to manually change or update the tooltip.
Greetings
Marcel de Groot