Version

Configuring Indentation per Level (xamTreeGrid)

Topic Overview

Purpose

This topic explains how to set the indentation used to render the child records.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic explains the features supported by the control from developer perspective.

This topic provides an overview of the visual elements of the control.

Indentation per Level Summary

Indentation summary

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.

Indentation configuration summary

The following table explains briefly the configurable aspect of the xamTreeGrid control and maps it to the property that configure it.

Configurable aspect Details Properties

Indentation

Used to set the indentation per each child level

Code example

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.

Topic Purpose

This topic explains how to configure the control’s tree field.

This topic explains how to configure the expansion indicators' behavior.

This topic explains how to configure the selection behavior for child level records.

This topic explains how to configure the filtering feature of the control.

This topic explains the specifics of the summaries support of the control.