Edge
4.5
Available
Previously, xref:System.Windows.DataTemplate?displayProperty=name elements were invisible to UI Automation. Beginning in 4.5, UI Automation will detect these elements. This is useful in many cases, but can break tests that depend on UIA trees not containing xref:System.Windows.DataTemplate?displayProperty=name elements.
- Quirked
- Build-time break
UI Automation tests for this app may need updated to account for the UIA tree now including previously invisible xref:System.Windows.DataTemplate?displayProperty=name elements. For example, tests that expect some elements to be next to each other may now need to expect previously invisible UIA elements in between. Or tests that rely on certain counts or indexes for UIA elements may need updated with new values.
M:System.Windows.DataTemplate.#ctor
M:System.Windows.DataTemplate.#ctor(System.Object)
Windows Presentation Foundation (WPF)