You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ItemsControl Automation does not work even if the switch is set #6861
Windows version: 21H2 (22000.739) Windows Insider Preview Build25169.rs_prerelease.220723-1625
Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description:
If we group items of an ItemsControl, the items cannot be automated while only the group item can be.
There is a switch named Switch.System.Windows.Controls.ItemsControlDoesNotSupportAutomation that might work to fix this issue but it actually does not work no matter whether the value is set to true or false.
Actual behavior:
See the image, please. The first one is the original ItemsControl in the current dotnet version and the second one is the issue-fixed version. We can see the automation software cannot detect the inner item in the ItemsControl on the current dotnet version while everything works fine on the issue-fixed version.
Activity