Skip to main content
All docs
V25.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.

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

    Note

    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