Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CalcNodeHeightEventArgs.NodeHeight Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.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