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.Selected Property

Specifies the selected node.

#Declaration

Delphi
property Selected: TdxOcNode read; write;

#Property Value

Type
TdxOcNode

#Remarks

Use this property to:

  • Move selection between nodes;

  • Access the currently selected node.

By default, the selected node is highlighted with the color specified by the SelectedNodeColor property. To disable the highlighting, use the ocSelect flag in the Options property.

Set the Allow parameter to False in the OnChanging event handler to prevent changing the node selection. Handle the OnChange event to respond to changing the node selection.

See Also