Back to Devexpress

CalcNodeHeightEventArgs Class

windowsforms-devexpress-dot-xtratreelist-a0fec85e.md

latest2.6 KB
Original Source

CalcNodeHeightEventArgs Class

Provides data for the TreeList.CalcNodeHeight event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public class CalcNodeHeightEventArgs :
    NodeEventArgs
vb
Public Class CalcNodeHeightEventArgs
    Inherits NodeEventArgs

CalcNodeHeightEventArgs is the data class for the following events:

Remarks

The TreeList.CalcNodeHeight event allows you to assign custom height to individual nodes. It fires for each node within the TreeList every time nodes must be repainted due to layout changes. The CalcNodeHeightEventArgs class provides the information about the currently processed node. The NodeEventArgs.Node property derived from the NodeEventArgs class is used for this purpose.

The CalcNodeHeightEventArgs.NodeHeight property is introduced by the CalcNodeHeightEventArgs class to specify the current node’s height.

CalcNodeHeightEventArgs objects with proper settings are automatically created and passed to TreeList.CalcNodeHeight event handlers.

Inheritance

Object EventArgs NodeEventArgs CalcNodeHeightEventArgs

See Also

CalcNodeHeightEventArgs Members

CalcNodeHeight

Node

NodeHeight

DevExpress.XtraTreeList Namespace