Hi, dear support.
I am trying to set a custom tooltip for when the mouse is hovering over Gantt Events.
Here is fragment of my code:
...
<Grid DataContext="{StaticResource SchedulerViewModel}">
<controls:RadGanttView x:Name="ganttView"
TasksSource="{Binding Tasks}"
MouseDoubleClick="ganttView_MouseDoubleClick" DataContext="{Binding Tasks}" SelectionChanged="ganttView_SelectionChanged">
<controls:RadGanttView.Resources>
<Style TargetType="{x:Type controls:EventContainer}">
<Setter Property="Background" Value="{Binding OriginalEvent.Background}"/>
<Setter Property="ToolTip" Value="{Binding OriginalEvent.TaskFullDescription}"/>
</Style>
</controls:RadGanttView.Resources>
...
The class property TaskFullDescription bound to the tooltip provides a string with all task details. The property Background provided in the same class - works and changes the Event container background, but the property TaskFullDescription has no effect and only the default tooltip is shown.
What is the proper way of customising a tooltip, when it needs to set a text provided by a method.
Thank you, Sergey