Hello Today I Was Experimenting With Wpf And I Found That When A ListBox HAs A Selected Item It Will Not Allow It To Be Modified
private void Button_Click_7(object sender, RoutedEventArgs e) { ScriptBox.Items.Clear(); Functions.PopulateListBox(ScriptBox, "./Scripts", "*.txt"); Functions.PopulateListBox(ScriptBox, "./Scripts", "*.lua"); } (Im New To WPF So It Would Help A Lot TO Find Out Why This Happens)
https://stackoverflow.com/questions/65589223/cant-clear-listbox-while-item-selected January 06, 2021 at 10:06AM
没有评论:
发表评论