The AutomationProperties
extensions provide a series of extension methods that support the configuring of accessibility related settings.
Automation properties are attached properties that can be added to any element to indicate how the element is reported to the underlying platform's accessibility framework.
For further information on AutomationProperties
and accessibility please refer to the .NET MAUI documentation.
For information on other accessibility related extensions please refer to the SemanticProperties extensions.
AutomationExcludedWithChildrenThe AutomationExcludedWithChildren
method sets a value determining if the BindableObject
and its children should be excluded from the accessibility tree.
The following example demonstrates how to exclude a new VerticalStackLayout
and its children from the accessibility tree:
new VerticalStackLayout().AutomationExcludedWithChildren(true);
AutomationIsInAccessibleTree
The AutomationIsInAccessibleTree
method sets a value determining if the BindableObject
is visible to screen readers.
The following example demonstrates how to exclude a new VerticalStackLayout
from the accessibility tree:
new VerticalStackLayout().AutomationIsInAccessibleTree(false);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4