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 Class

Provides data for the TreeList.CalcNodeHeight event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public class CalcNodeHeightEventArgs :
    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