|
| 1 | +--- |
| 2 | +title: UI Automation Support (UI Accessibility) |
| 3 | +page_title: UI Automation Support (UI Accessibility) - RadListControl |
| 4 | +description: UI Automation Support (UI Accessibility) for RadListControl. |
| 5 | +slug: dropdown-listcontrol-and-checkeddropdownlist-listcontrol-ui-automation |
| 6 | +tags: navigationview,ui,automation |
| 7 | +published: True |
| 8 | +position: 10 |
| 9 | +--- |
| 10 | + |
| 11 | +# UI Automation Support |
| 12 | + |
| 13 | +With the Q4 2024 version of our controls, RadListControl supports UI Automation. The current implementation of UI Automation for RadListControl is similar to the [MS WinForms List](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-supportlistcontroltype) 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. |
| 14 | + |
| 15 | +This functionality is enabled by default. To disable it, you can set the __EnableUIAutomation__ property to false. |
| 16 | + |
| 17 | +````C# |
| 18 | + |
| 19 | +this.radListControl1.EnableUIAutomation = false; |
| 20 | + |
| 21 | +```` |
| 22 | +````VB.NET |
| 23 | + |
| 24 | +Me.RadListControl1.EnableUIAutomation = False |
| 25 | + |
| 26 | +```` |
| 27 | + |
| 28 | +## RadListControl |
| 29 | + |
| 30 | +The table below outlines the __UI Automation__ properties most important for understanding and interacting with RadListControl control. |
| 31 | + |
| 32 | +### RadListControl Available Properties |
| 33 | + |
| 34 | +* AutomationElementIdentifiers.AutomationIdProperty.Id |
| 35 | +* AutomationElementIdentifiers.BoundingRectangleProperty.Id |
| 36 | +* AutomationElementIdentifiers.ControlTypeProperty => ControlType.List.Id |
| 37 | +* AutomationElementIdentifiers.LocalizedControlTypeProperty => "list" |
| 38 | +* AutomationElementIdentifiers.HelpTextProperty.Id |
| 39 | +* AutomationElementIdentifiers.IsContentElementProperty.Id |
| 40 | +* AutomationElementIdentifiers.IsControlElementProperty.Id |
| 41 | +* AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id |
| 42 | +* AutomationElementIdentifiers.HasKeyboardFocusProperty.Id |
| 43 | +* AutomationElementIdentifiers.NameProperty.Id |
| 44 | + |
| 45 | +### RadListControl Available Patterns |
| 46 | + |
| 47 | +The following section outlines the supported automation patterns for the __RadListControl__ control and its constituent elements. |
| 48 | + |
| 49 | +* [Selection Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingselection) |
| 50 | +* [Scroll Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingscroll) |
| 51 | + |
| 52 | +## RadListDataItem |
| 53 | + |
| 54 | +The current implementation of UI Automation for the RadListDataItem control is implemented as the UIA [ListItem control type](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-supportlistitemcontroltype) |
| 55 | + |
| 56 | +### RadListDataItem Available Properties |
| 57 | + |
| 58 | +* AutomationElementIdentifiers.AutomationIdProperty.Id |
| 59 | +* AutomationElementIdentifiers.BoundingRectangleProperty.Id |
| 60 | +* AutomationElementIdentifiers.ControlTypeProperty => ControlType.List.Id |
| 61 | +* AutomationElementIdentifiers.LocalizedControlTypeProperty => "list" |
| 62 | +* AutomationElementIdentifiers.HelpTextProperty.Id |
| 63 | +* AutomationElementIdentifiers.IsContentElementProperty.Id |
| 64 | +* AutomationElementIdentifiers.IsControlElementProperty.Id |
| 65 | +* AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id |
| 66 | +* AutomationElementIdentifiers.HasKeyboardFocusProperty.Id |
| 67 | +* AutomationElementIdentifiers.NameProperty.Id |
| 68 | +* AutomationElementIdentifiers.IsOffscreenProperty.Id |
| 69 | + |
| 70 | +### RadListDataItem Available Patterns |
| 71 | + |
| 72 | +* [Selection Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingselection) |
| 73 | +* [ScrollItem Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingscrollitem) |
| 74 | + |
| 75 | +## RadScrollbarElement |
| 76 | + |
| 77 | +The current implementation of UI Automation for the RadScrollbarElement control is implemented as the UIA [ScrollBar control type](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-supportscrollbarcontroltype) |
| 78 | + |
| 79 | +### RadScrollbarElement Available Properties |
| 80 | + |
| 81 | +* AutomationElementIdentifiers.AutomationIdProperty.Id |
| 82 | +* AutomationElementIdentifiers.BoundingRectangleProperty.Id |
| 83 | +* AutomationElementIdentifiers.ControlTypeProperty => ControlType.ScrollBar.Id |
| 84 | +* AutomationElementIdentifiers.LocalizedControlTypeProperty => "scroll bar" |
| 85 | +* AutomationElementIdentifiers.HelpTextProperty.Id |
| 86 | +* AutomationElementIdentifiers.IsContentElementProperty.Id |
| 87 | +* AutomationElementIdentifiers.IsControlElementProperty.Id |
| 88 | +* AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id |
| 89 | +* AutomationElementIdentifiers.NameProperty.Id |
| 90 | +* AutomationElementIdentifiers.OrientationProperty.Id |
| 91 | + |
| 92 | +### RadScrollbarElement Available Patterns |
| 93 | + |
| 94 | +* [RangeValue Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingrangevalue) |
| 95 | + |
| 96 | +## ScrollBarButton |
| 97 | + |
| 98 | +The current implementation of UI Automation for the ScrollBarButton control is implemented as the UIA [Button control type](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-supportbuttoncontroltype) |
| 99 | + |
| 100 | +### ScrollBarButton Available Properties |
| 101 | + |
| 102 | +* AutomationElementIdentifiers.AutomationIdProperty.Id |
| 103 | +* AutomationElementIdentifiers.BoundingRectangleProperty.Id |
| 104 | +* AutomationElementIdentifiers.ControlTypeProperty => ControlType.Button.Id |
| 105 | +* AutomationElementIdentifiers.LocalizedControlTypeProperty => "button" |
| 106 | +* AutomationElementIdentifiers.HelpTextProperty.Id |
| 107 | +* AutomationElementIdentifiers.IsContentElementProperty.Id |
| 108 | +* AutomationElementIdentifiers.IsControlElementProperty.Id |
| 109 | +* AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id |
| 110 | +* AutomationElementIdentifiers.NameProperty.Id |
| 111 | + |
| 112 | +### ScrollBarButton Available Patterns |
| 113 | + |
| 114 | +* [Invoke Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementinginvoke) |
| 115 | + |
| 116 | +## ScrollBarThumb |
| 117 | + |
| 118 | +The current implementation of UI Automation for the ScrollBarThumb control is implemented as the UIA [ScrollBar control type](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-supportscrollbarcontroltype) |
| 119 | + |
| 120 | +### ScrollBarThumb Available Properties |
| 121 | + |
| 122 | +* AutomationElementIdentifiers.AutomationIdProperty.Id |
| 123 | +* AutomationElementIdentifiers.BoundingRectangleProperty.Id |
| 124 | +* AutomationElementIdentifiers.ControlTypeProperty => ControlType.Thumb.Id |
| 125 | +* AutomationElementIdentifiers.LocalizedControlTypeProperty => "thumb" |
| 126 | +* AutomationElementIdentifiers.HelpTextProperty.Id |
| 127 | +* AutomationElementIdentifiers.IsContentElementProperty.Id |
| 128 | +* AutomationElementIdentifiers.IsControlElementProperty.Id |
| 129 | +* AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id |
| 130 | +* AutomationElementIdentifiers.NameProperty.Id |
| 131 | + |
| 132 | +### ScrollBarThumb Available Patterns |
| 133 | + |
| 134 | +* [Transform Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingtransform) |
0 commit comments