Ejemplo n.º 1
0
        private static void AngleChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args)
        {
            ContinuouslyRotating image = (ContinuouslyRotating)depObj;

            image.RotateControl.Angle = Convert.ToDouble(args.NewValue);
        }
Ejemplo n.º 2
0
        private static void OnRequestRotateCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ContinuouslyRotating o = d as ContinuouslyRotating;

            o.TestRequestRotateCommand(e.NewValue as ICommand);
        }