ListDetailsView Does Not Respond to ObservableCollection Changes #4798
Unanswered
Gszekt
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I use Template Studio for WinUI generate a demo, it includes an ListDetails page, just as below:
When I add a button in ListDetailsPage.xaml and add a AddButton_Click event handler. In AddButton_Click, I call
ViewModel.SampleItems.Clear();
and the UI update correctly. Then I do the same thing in ListDetailsDetailControl.xaml, the UI is not updated. Why doesn't it works?Here is the code
ListDetailsDetailControl.xaml.cs
Beta Was this translation helpful? Give feedback.
All reactions