<igDP:XamTreeGrid>
<igDP:XamTreeGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings ExpansionIndicatorDisplayMode="CheckOnExpand" />
</igDP:XamTreeGrid.FieldLayoutSettings>
</igDP:XamTreeGrid>
This topic explains how to configure the expansion indicators' behavior.
The following topics are prerequisites to understanding this topic:
The xamTreeGrid control allows you to specify how the expansion indicators are initially drawn. The following options are available:
Always – indicators are always shown
Never – indicators are never shown
CheckOnDisplay – the control checks for child records and shows indicators only when child records are available
CheckOnExpand – indicators are shown for each records, however when the user click on them and no child records are available the indicator will be hidden
The following table explains briefly the configurable aspect of the xamTreeGrid control and maps it to the property that configure it.
The following code example show how to set the expansion indicators to be visible on initial display, but check for child records on the expanding.
In XAML:
<igDP:XamTreeGrid>
<igDP:XamTreeGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings ExpansionIndicatorDisplayMode="CheckOnExpand" />
</igDP:XamTreeGrid.FieldLayoutSettings>
</igDP:XamTreeGrid>
The following topics provide additional information related to this topic.