Back to Devexpress

TcxCustomGrid.Automation Property

vcl-cxgrid-dot-tcxcustomgrid.md

latest2.8 KB
Original Source

TcxCustomGrid.Automation Property

Provides access to data grid UI Automation and accessibility-related settings.

Declaration

delphi
property Automation: TdxAutomationElementSettings read; write;

Property Value

TypeDescription
TdxAutomationElementSettings

Stores UI Automation tree node settings.

|

Remarks

A Data Grid control, its Table Views, and in turn, columns and rows map to nodes in the UI Automation tree. A UIA client application reads properties of the UIA node that corresponds to the focused UI element.

You can use the Automation property to configure root UIA node properties for the Data Grid control. In turn, each grid Table View has its own Automation property you can use to configure UIA node information that corresponds to an individual grid Table View and its data rows. At the lowest structural hierarchy level, each column has its own Automation property.

Available Options

You can use the Automation.Name property to specify a name for the UIA node associated with the Data Grid control.

In addition, you can use the Automation.Description property to add optional information to clarify the content purpose for users who rely on third-party assistive tools (such as Microsoft Narrator).

Refer to the TdxAutomationElementSettings class description for detailed information on all available options.

See Also

TcxGridTableView.Automation Property

TcxCustomGridColumn.Automation Property

dxUIAutomationEnabled Global Variable

TcxCustomGrid Class

TcxCustomGrid Members

cxGrid Unit