private void SortValue_Click(object sender, RoutedEventArgs e) { OutputGridVM vm = DataContext as OutputGridVM; vm.Sort(SortField.Value); }
private void SortProbability_Click(object sender, RoutedEventArgs e) { OutputGridVM vm = DataContext as OutputGridVM; vm.Sort(SortField.Probability); }