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

TdxCustomOrgChart.DefaultNodeWidth Property

Specifies the default width of tree nodes, in pixels.

#Declaration

Delphi
property DefaultNodeWidth: Word read; write; default 64;

#Property Value

Type Default
Word 64

#Remarks

Use this property to adjust the width of the tree nodes whose Width property is set to 0.

The minimum node width is 16 pixels if no image list is assigned to the Images property. Otherwise, the minimum node width equals the associated image list’s doubled Width property value.

The DefaultNodeWidth property updates automatically by multiplying its current value by the form’s scaling factor every time it changes at design-time or runtime.

The default value of the DefaultNodeWidth property is 64.

See Also