CalcNodeHeightEventArgs Class

Provides data for the TreeList.CalcNodeHeight event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public class CalcNodeHeightEventArgs :
    NodeEventArgs
Public Class CalcNodeHeightEventArgs
    Inherits NodeEventArgs

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