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; }
private static void OnMinimumScaleRotateRadiusChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { Manipulable man = (Manipulable)sender; man._mprocessor.MinimumScaleRotateRadius = (float)man.MinimumScaleRotateRadius; }
private static void OnSupportedManipulationsChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { Manipulable man = (Manipulable)sender; man._mprocessor.SupportedManipulations = (MANIPULATION_PROCESSOR_MANIPULATIONS)man.SupportedManipulations; }