<igDP:XamTreeGrid>
<igDP:XamTreeGrid.ViewSettings>
<igDP:TreeViewSettings IndentPerLevel="35" />
</igDP:XamTreeGrid.ViewSettings>
</igDP:XamTreeGrid>
This topic explains how to set the indentation used to render the child records.
The following topics are prerequisites to understanding this topic:
The xamTreeGrid control allows you to specify the indentation which will be used for each nested level of records. The indentation is provided in logical pixels.
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 indentation per level to 35 pixels.
In XAML:
<igDP:XamTreeGrid>
<igDP:XamTreeGrid.ViewSettings>
<igDP:TreeViewSettings IndentPerLevel="35" />
</igDP:XamTreeGrid.ViewSettings>
</igDP:XamTreeGrid>
The following topics provide additional information related to this topic.