WinUI3 - MAUI - The "Close Button" hasn't Automation ID for inspection #9178
Labels
area-TitleBar
Issues related to custom window title bars.
bug
Something isn't working
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
Hello!
Following the https://learn.microsoft.com/en-us/windows/apps/develop/title-bar to create a custom titlebar and when ExtendsContentIntoTitleBar = true is setted, all the titlebar become a InputNonClientPointerSource area.
This way is not possible to inspect the close, minimize and maximize buttons by AutomationId.
In UWP versions those buttons are AutomationId="Minimize", AutomationId="Maximize" and AutomationId="Close". There is some way to change this behavior? It's look like a limitation becouse when Titlebar is inpected we can only see InputNonClientPointerSource and AutomationId="".
I know that I can change button colors like page example, but and about AutomationIds?
Steps to reproduce the bug
Expected behavior
Show default Automation Id, like to UWP applications.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.3: 1.4.231115000
Windows version
Windows 10 (21H2): Build 19044, Windows 10 (21H1): Build 19043
Additional context
No response
The text was updated successfully, but these errors were encountered: