I tried to reproduce the problem you report but to no avail. I have attached my sample project and an image of the result for a reference. I have used this
version of the UI Verify tool. Can you give it a try and let me know how it works for you.
What you can try is to search for this - AutomationManager.AutomationMode = AutomationMode.Disabled property in your project. The property gives you an option for disabling the creation of the Automation peers. You can check our UI Automation Support
help article for a reference.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.