예제 #1
0
        private static void OnPivotPointChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.PivotPointX = (float)man.PivotPoint.X;
            man._mprocessor.PivotPointY = (float)man.PivotPoint.Y;
        }
예제 #2
0
        private static void OnMinimumScaleRotateRadiusChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.MinimumScaleRotateRadius = (float)man.MinimumScaleRotateRadius;
        }
예제 #3
0
        private static void OnSupportedManipulationsChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            Manipulable man = (Manipulable)sender;

            man._mprocessor.SupportedManipulations = (MANIPULATION_PROCESSOR_MANIPULATIONS)man.SupportedManipulations;
        }