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
In a ContentControl, when the binded Content changes, the ComboBoxSelectedItem in the DataTemplate is set to NULL as well as the binded property in the model.
It happens only when the DataTemplate returned by the DataTemplateSelector remains the same.
Describe the bug
In a ContentControl, when the binded Content changes, the ComboBox SelectedItem in the DataTemplate is set to NULL as well as the binded property in the model.
It happens only when the DataTemplate returned by the DataTemplateSelector remains the same.
This issue was not present in WPF.
Steps to reproduce the bug
Clone the repository.
Run the project WinUISample
When the DataTemplate changes the category remains
Expected behavior
The category need to stay on the right value.
The WPFSample included in the solution implementing the same logic works as expected.
Screenshots
No response
NuGet package version
Windows App SDK 1.4.0: 1.4.230822000
Packaging type
No response
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: