private static void CardValuePropertyChanged(BindableObject bindable, object oldValue, object newValue) { var thisItem = (CardXF)bindable; thisItem.MainObject !.CardValue = (EnumCardValues)newValue; }
private static void CardValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { var thisItem = (CardWPF)sender; thisItem.MainObject !.CardValue = (EnumCardValues)e.NewValue; }