-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
add automation peer for UserControl #17480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add automation peer for UserControl #17480
Conversation
You can test this PR using the following package version. |
|
@cla-avalonia agree |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
Verified with this build:
|
This patch adds automation peer for
UserControl
.What does the pull request do?
As #17423 described, Windows UI automation can not determine the correct control type of
UserControl
. The root cause is that no corresponding automation peer for it.What is the current behavior?
LocalizedControlType is "none".
What is the updated/expected behavior with this PR?
LocalizedControlType is "custom".
Checklist
Breaking changes
None
Obsoletions / Deprecations
Fixed issues
Fixes #17423