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

CalcNodeHeightEventArgs.NodeHeight Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public int NodeHeight { get; set; }

Property Value

Type Description
Int32

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

Remarks

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