Accessibility in Xamarin Navigation Drawer (SfNavigationDrawer)
9 Jul 2020 / 1 minute to read
The SfNavigationDrawer control has built-in AutomationId
for inner elements. The AutomationId
API allows the automation framework to find and interact with the inner elements of the NavigationDrawer
control. To keep unique AutomationId, these inner elements’ AutomationIds are updated based on the control’s AutomationId
.
For example, if you set SfNavigationDrawer’s AutomationId
as “DrawerMenu”, then the automation framework will interact with the gray area as “DrawerMenu Gray Area”.
The following screenshot illustrates the AutomationIds of inner elements. You can also interact with the elements inside the ContentView with the element’s AutomationId.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page