0
我如何能在multiselectlist刪除項目7
刪除的項目我的代碼的工作無法正常
for (int i = MyListBox.Items.Count - 1; i >= 0; i--)
//for (int i = -1; i <= MyListBox.Items.Count; i++)
{
if (MyListBox.IsSelectionEnabled == true)
{
MyObservable.RemoveAt(i);
}
}
MyListBox:multiSelectList
MyObservable:的ObservableCollection <>