TdxAutomationElementSettings.IsContentElement Property
Specifies if the control/UI element belongs to the content view of the UI Automation tree.
Declaration
property IsContentElement: TdxDefaultBoolean read; write; default bDefault;
Property Value
Type | Default | Description |
---|---|---|
TdxDefaultBoolean | bDefault |
|
Remarks
Control view elements include UI items that store information for a user or allow a user to execute an action. The control view of the UI Automation tree also includes non-interactive UI elements of the application layout, such as headers, toolbars, status bars, etc. For example, a combo box is displayed in the content view as a collection of UI items that correspond to individual values.
Set IsContentElement
and IsControlElement properties to bTrue or bFalse to explicitly include or exclude the control/UI element to/from content and control views of the UI Automation tree.
Corresponding UIA Framework Field
The IsContentElement
property corresponds to the AutomationElementIdentifiers.IsContentElementProperty field.