UI Automation Support
With the Q2 2025 version of our controls, RadSpinEditor supports UI Automation. The current implementation of UI Automation for RadSpinEditor 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.radSpinEditor1.EnableUIAutomation = false;
Me.RadSpinEditor1.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.ControlTypeProperty.Id
- AutomationElementIdentifiers.LocalizedControlTypeProperty.Id => "spinner"
- AutomationElementIdentifiers.HelpTextProperty.Id
- AutomationElementIdentifiers.IsContentElementProperty.Id
- AutomationElementIdentifiers.IsControlElementProperty.Id
- AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id
- AutomationElementIdentifiers.LabeledByProperty.Id
- AutomationElementIdentifiers.NameProperty.Id
- AutomationElementIdentifiers.IsRangeValuePatternAvailableProperty.Id
- AutomationElementIdentifiers.IsValuePatternAvailableProperty.Id
Supported Control Patterns
The following section outlines the supported automation patterns for the RadSpinEditor control and its constituent elements.
Events
This section list the events raised by the RadSpinEditor control.
RadSpinElement.MinValue property change: Raises the UIA RangeValuePatternIdentifiers.MinimumProperty automation property change.
RadSpinElement.MaxValue property change: Raises the UIA RangeValuePatternIdentifiers.MaximumProperty automation property change.
-
__ValueChanged event: Raises the
- UIA ValuePatternIdentifiers.ValueProperty automation property changed.
- UIA RangeValuePatternIdentifiers.ValueProperty](https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.rangevaluepattern.valueproperty?view=windowsdesktop-9.0)