示例#1
0
        private static void ShapePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var thisItem = (CardGraphicsWPF)sender;

            thisItem.MainObject !.Shape = (EnumCardShape)e.NewValue;
        }
        private static void ShapePropertyChanged(BindableObject bindable, object oldValue, object newValue)
        {
            var thisItem = (CardGraphicsXF)bindable;

            thisItem.MainObject !.Shape = (EnumCardShape)newValue;
        }