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

Remove the collapsed area of the RadDiagramContainerShape

Environment

Product Version 2019.1 401
Product RadDiagram for WPF

Description

Remove the collapsed area when the RadDiagramContainerShape is collapsed.

Solution

Set the CollapsedContentTemplate property to empty DataTemplate.

<telerik:RadDiagramContainerShape> 
    <telerik:RadDiagramContainerShape.CollapsedContentTemplate> 
        <DataTemplate/> 
    </telerik:RadDiagramContainerShape.CollapsedContentTemplate> 
</telerik:RadDiagramContainerShape> 
In this article