ListBox Item Removal

后端 未结 5 1435
长发绾君心
长发绾君心 2021-01-14 19:15

I have a WPF window that manages sets of configurations and it allows users to edit a configuration set (edit button) and to remove a configuration set (remove button). The

5条回答
  •  逝去的感伤
    2021-01-14 20:14

    this was answered here already.

    WPF - Best way to remove an item from the ItemsSource

    You will need to implement an ObservableCollection and then whatever you do to it will be reflected in your listbox.

提交回复
热议问题