private void OnZoom(object sender, ZoomEventArgs ze)
        {
            System.Diagnostics.Trace.WriteLine("OnZoom: " + ze.ToString());
            //System.Diagnostics.Debug.WriteLine("DebugRoutedHandler: [ FrameID " + ze.FrameID + " ]  " + sender.ToString() + "   " + ze.RoutedEvent.Name);
            this.image.RenderTransformOrigin = new Point(0.5, 0.5);
            Matrix m = this.image.RenderTransform.Value;

            m.Scale(ze.DeltaScale, ze.DeltaScale);
            this.image.RenderTransform = new MatrixTransform(m);
        }
 private void OnZoom1(object sender, ZoomEventArgs e)
 {
     System.Diagnostics.Trace.WriteLine(" OnZoom : " + e.ToString());
 }