求助大神啊,ImageViewer 控件该如何支持在触摸屏电脑上,实现双指捏合/展开进行缩放 单指拖动进行平移功能。 #1767
Unanswered
jimmypeng92
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在imageViewer的基础上,封装了个TouchImageViewer,不仅图片无法显示,还不能缩放了,该怎么办求助大神,下面是我做的尝试,但是不行。
using HandyControl.Controls;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace 安灯系统
{
public class TouchImageViewer : HandyControl.Controls.ImageViewer
{
private MatrixTransform _matrixTransform;
private Image _imageMain;
private Point _lastPoint;
}
}
Beta Was this translation helpful? Give feedback.
All reactions