Skip to main content
All docs
V25.1
  • TdxAutomationElementSettings.IsControlElement Property

    Specifies if the control/UI element belongs to the control view of the UI Automation tree.

    Declaration

    property IsControlElement: 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 control view of the UI Automation tree.
    bFalse
    The control/UI element is explicitly excluded from the control view of the UI Automation tree.

    Remarks

    The content view of the UI Automation tree includes UI items with information intended for an end user, including UI elements that can receive focus.

    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 IsControlElement property corresponds to the AutomationElementIdentifiers.IsControlElementProperty field.

    See Also