void btn_Checked(object sender, RoutedEventArgs e) { var btn = sender as RadioButton; _testType = (TestType)(int)btn.GetValue(Grid.ColumnProperty); MyCellFactory.StoreValue(this, _testType); }
void CheckCell_Checked(object sender, RoutedEventArgs e) { MyCellFactory.StoreValue(this, this.IsChecked); }