Skip to main content
A newer version of this page is available. .

AccordionControl.ChildLevelIndent Property

Gets or sets the horizontal indent of child elements from their parents.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(-1)]
public int ChildLevelIndent { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that specifies the horizontal indent of child elements from their parents.

Remarks

The AccordionControlElement.Elements collection allows you to organize elements into a nested structure. In the accordion control, child elements are horizontally indented from parents with an amount of space that depends on the currently applied skin by default. The ChildLevelIndent property allows you to specify a custom indent. This property is not in effect for elements residing in root groups (2nd level of the hierarchy), which are not indented. This property affects only elements on the 3rd hierarchy level and further.

See Also