Skip to main content
All docs
V26.1
  • TdxAutomationElementSettings.NamedBy Property

    Specifies an external source of the control/UI element node name in the UI Automation tree.

    Declaration

    property NamedBy: TControl read; write;

    Property Value

    Type Description
    TControl

    The source of the UI Automation tree node name.

    If the assigned control does not have an explicitly defined UIA node name, the control’s Caption property value serves as the node name.

    Remarks

    A control’s Caption serves as the default name for the corresponding node in the UI Automation tree.

    Note

    If a control displays no caption (like TdxNavBarOfficeNavigationBar), the default UIA node is defined in a resource string. Refer to individual control/UI element class descriptions for details.

    Use NamedBy and DescribedBy properties to specify external sources (TControl descendants) of the UIA tree node name and description for the DevExpress control/UI element.

    Name and NamedBy Property Interaction

    The Name property has priority over NamedBy. If the Name property is explicitly specified, the NamedBy property has no effect.

    Default Value

    The NamedBy property’s default value is nil (in Delphi) or nullptr (in C++Builder).

    See Also