Accessibility in Xamarin Expander (SfExpander)
21 Jan 2021 / 1 minute to read
The SfExpander 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
Expander control. To keep unique AutomationId, these inner element’s AutomationIds are updated based on the Expander control
For example, if we set Expander’s AutomationId as “Automation”, then Automation framework will interact with expander icon of Expander Header as
|Expander Icon||ControlAutomationId Expander||AutomationItem1 Expander
where AutomationItem1 represents Control AutomationId and Expander represents the expander dropdown icon.
The following image denotes the AutomationIds of inner elements.