New to Telerik UI for WPF? Start a free 30-day trial
How to Display Relations over Event Containers
Updated on Sep 15, 2025
Environment
| Product Version | 2020.2.617 |
| Product | RadGanttView for WPF |
Description
How to display relations over event containers.
Solution
To have the relations appear over the GanttView tasks, you need to set the ZIndexManager.ZIndex attached property of the RelationContainer to a value larger than 40.
XAML
<!-- If you're using the NoXaml binaries, you need to also add the following attribute to the style:
BasedOn="{StaticResource RelationContainerStyle}" -->
<Style TargetType="telerik:RelationContainer">
<Setter Property="telerik:ZIndexManager.ZIndex" Value="50"/>
<!-- ... -->
</Style>