Back to Devexpress

CalcNodeHeightEventArgs.NodeHeight Property

windowsforms-devexpress-dot-xtratreelist-dot-calcnodeheighteventargs.md

latest1.9 KB
Original Source

CalcNodeHeightEventArgs.NodeHeight Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public int NodeHeight { get; set; }
vb
Public Property NodeHeight As Integer

Property Value

TypeDescription
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

Node

CalcNodeHeight

CalcNodeHeightEventArgs Class

CalcNodeHeightEventArgs Members

DevExpress.XtraTreeList Namespace