Skip to main content

TdxCustomOrgChart.Selected Property

Specifies the selected node.

Declaration

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