private static void SorryPropertyChanged(BindableObject bindable, object oldValue, object newValue) { var thisItem = (CardGraphicsXF)bindable; thisItem.MainObject !.Sorry = (EnumSorry)newValue; }
private static void SorryPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { var thisItem = (CardGraphicsWPF)sender; thisItem.MainObject !.Sorry = (EnumSorry)e.NewValue; }