常用方法
常用方法
常用方法
常用方法
private void CommandBinding_Executed_Delete(object sender, ExecutedRoutedEventArgs e) { ManagementViewModel vm = this.DataContext as ManagementViewModel; MACFilterInformation selectedMACFilter = (e.OriginalSource as DataGridRow).DataContext as MACFilterInformation; vm.DeleteMACFilterInfo(selectedMACFilter); }