CalcNodeHeightEventArgs.NodeHeight Property

Gets or sets the current node’s height in pixels.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.2.dll


public int NodeHeight { get; set; }

Property Value

Type Description

An integer value specifying the node’s height in pixels.


Use the NodeHeight property to assign a custom height to nodes. The node, whose height is to be calculated, can be accessed via the NodeEventArgs.Node property.

Note: the NodeHeight property initially contains the default node height (specified by the TreeList.RowHeight property). Leave this property value unchanged if you don’t want to assign a custom height to the current node.

See Also