A11YTools
A11YTools copied to clipboard
Set control type doesnt work for element not on the screen
Set control type method doesn't work for controls that has been created in C# and hasn't been added to the page yet.
For example -
StackLayout test = new StackLayout();
test.Children.Add(new Label { Text = "Dynamic test" });
_accessibilityService.SetControlType(test, ControlType.Button);
TestContainer.Children.Add(test);
Not sure how to work around that.