New to Telerik UI for WPF? Download free 30-day trial

How to Display Relations over Event Containers

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.

<!-- 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> 

See Also

In this article