Skip to main content

CalcNodeHeightEventArgs.NodeHeight Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

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