Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    TcxCustomButton.Automation Property

    Provides access to button UI Automation and accessibility-related settings.

    #Declaration

    Delphi
    property Automation: TdxAutomationElementSettings read; write;

    #Property Value

    Type Description
    TdxAutomationElementSettings

    Stores UI Automation tree node settings.

    #Remarks

    A TcxButton component maps to a node in the UI Automation tree. A UIA client application reads properties of the UIA node that corresponds to the focused button.

    #Available Options

    The Caption property value serves as the default name for the corresponding node in the UI Automation tree. You can use the Automation.Name property to specify a different name for the UIA node associated with the button and retain the current caption in the UI.

    In addition, you can use the Automation.Description property to add optional information to clarify the button purpose for users who rely on third-party assistive tools (such as Microsoft Narrator).

    Refer to the TdxAutomationElementSettings class description for detailed information on all available options.

    See Also