Back to Devexpress

TdxCustomOrgChart.Selected Property

vcl-dxorgchr-dot-tdxcustomorgchart-efd030a3.md

latest1.1 KB
Original Source

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

TdxCustomOrgChart.SelectedNodeTextColor

TdxCustomOrgChart Class

TdxCustomOrgChart Members

dxorgchr Unit