private void RemoveChipItem(object sender, ChipItemEventArgs e) { if (DataContext is Sample sample) { if (sample.Data is TestCollections test) { test.RemoveChipItem(e.Item as TestCollections.SelectableData); } } }
private void RemoveChipItem(object sender, ChipItemEventArgs e) { MutableTestCollection.Remove(e.Item as SelectableData); }