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

TreeListOptionsBehavior.AutoNodeHeight Property

Gets or sets whether the height of each node is automatically adjusted to completely display the contents of its cells.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AutoNodeHeight { get; set; }

Property Value

Type Default Description
Boolean **true**

true to enable automatic calculation of the heights of nodes; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AutoNodeHeight
WinForms Controls GanttControl
.OptionsBehavior.AutoNodeHeight
ResourcesTree
.OptionsBehavior.AutoNodeHeight
TreeList
.OptionsBehavior.AutoNodeHeight
Reporting XRDesignFieldList
.OptionsBehavior.AutoNodeHeight
XRDesignReportExplorer
.OptionsBehavior.AutoNodeHeight

Remarks

When large text values or images need to be displayed the MemoEdit and PictureEdit editors are used as in-place editors. Set the AutoNodeHeight option to true to ensure that the contents of the cells are completely displayed.

If the AutoNodeHeight option is set to false, all nodes have the same height which is specified by the Tree List’s TreeList.RowHeight property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoNodeHeight property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also