property Surface.ShowLinksOnCollapse as Boolean
Specifies whether the links for collapsed elements are shown or hidden.

TypeDescription
Boolean A Boolean expression that specifies whether the links of collapsed elements are shown or hidden.
By default, ShowLinksOnCollapse property is True. Use the ShowLinksOnCollapse property to show the links between collapsed elements. Use the Expanded property to specify whether the element is expanded or collapsed. The ExpandLinkedElements property specifies whether the elements displays the expand/collapse glyphs when the element has outgoing elements ( the OutgoingLinks property specifies the links that starts from the element ). Use the Visible property of the Link to hide a specific link. The ShowLinksColor(exShowCollapsedLinks) / ShowLinksStyle( exShowCollapsedLinks) / ShowLinksWidth(exShowCollapsedLinks) property specifies how the collapsed links are shown.

The following screen shot shows a link between two child elements, when both parents are expanded:

Having the ShowLinksOnCollapse property on True, the following screen shot shows the link when one parent is collapsed:

Having the ShowLinksOnCollapse property on True, the following screen shot shows the link when both parents are collapsed:

In other words, the ShowLinksOnCollapse property allows you to still display the links for collapsed elements. A collapsed link is shown between expanded and visible elements.