private void SetupImagePreview() { var group = new TransformGroup(); var xform = new ScaleTransform(); //xform.ScaleY = -1; group.Children.Add(xform); var tt = new TranslateTransform(); group.Children.Add(tt); //TranslateTransform zoomCenter = new TranslateTransform(); //group.Children.Add(zoomCenter); ImagePreview.SetCurrentValue(RenderTransformProperty, group); ImagePreviewCanvas.PreviewMouseWheel += ImagePreview_MouseWheel; ImagePreviewCanvas.MouseDown += ImagePreview_MouseLeftButtonDown; ImagePreviewCanvas.MouseUp += ImagePreview_MouseLeftButtonUp; ImagePreviewCanvas.MouseMove += ImagePreview_MouseMove; ImageDropZone.DragEnter += ImageDropZone_DragEnter; ImageDropZone.DragLeave += ImageDropZone_DragLeave; ImageDropZone.Drop += ImageDropZone_Drop; _imageScale = new ScaleTransform(); //_imageScale.SetCurrentValue(ScaleTransform.ScaleYProperty, (double)-1); ActualImage.SetCurrentValue(RenderTransformProperty, _imageScale); }