Skip to main content
All docs
V25.1
  • 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
    bDefault
    The default value interpretation depends on the control/UI element type.
    bTrue
    The control/UI element is explicitly included in the content view of the UI Automation tree.
    bFalse
    The control/UI element is explicitly excluded from the content view of the UI Automation tree.

    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.

    See Also