UI Automation Support
With the Q2 2025 version of our controls, RadMaskedEditBox supports UI Automation. The current implementation of UI Automation for RadMaskedEditBox is similar to the MS WinForms Edit Control Type implementation with some extended functionality. The main goal of this implementation is to ensure compliance with accessibility standards and to provide a common practice for automated testing.
This functionality is enabled by default. To disable it, you can set the EnableUIAutomation property to false.
this.radMaskedEditBox1.EnableUIAutomation = false;
Me.RadMaskedEditBox1.EnableUIAutomation = False
Relevant Properties
The table below outlines the UI Automation properties most important for understanding and interacting with RadButton control.
- AutomationElementIdentifiers.AutomationIdProperty.Id
- AutomationElementIdentifiers.BoundingRectangleProperty.Id
- AutomationElementIdentifiers.ClickablePointProperty.Id
- AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id
- AutomationElementIdentifiers.NameProperty.Id
- AutomationElementIdentifiers.ControlTypeProperty.Id
- AutomationElementIdentifiers.LocalizedControlTypeProperty.Id => "edit"
- AutomationElementIdentifiers.HelpTextProperty.Id
- AutomationElementIdentifiers.IsContentElementProperty.Id
- AutomationElementIdentifiers.IsControlElementProperty.Id
- AutomationElementIdentifiers.IsPasswordProperty.Id
- AutomationElementIdentifiers.IsTextPatternAvailableProperty.Id
- AutomationElementIdentifiers.IsValuePatternAvailableProperty.Id
Supported Control Patterns
The following section outlines the supported automation patterns for the RadMaskedEditBox control and its constituent elements.
Events
This section list the events raised by the RadMaskedEditBox control.
Selection in the control change: Raises the : UIA TextPatternIdentifiers.TextSelectionChangedEvent
-
OnTextChanged: Raises the:
OnEnabledChanged: Raises the UIA AutomationElementIdentifiers.IsEnabledProperty Field