从surfacelitbox拖动到scatterview的项目无法通过缩放和旋转进行操作 [英] the item dragged from surfacelitbox to scatterview can not be manipulate with scale and rotate

查看:77
本文介绍了从surfacelitbox拖动到scatterview的项目无法通过缩放和旋转进行操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为这是因为函数  :: private void OnDragSourcePreviewTouchDown(object sender,TouchEventArgs e)  ,但是 这是为了拖放 ,我可以如何解决它?非常感谢

解决方案

您好,


在代码中创建ScatterViewItem时,需要将.CanRotate和.CanScale设置为true。


希望这有助于你。


i  think  it is because the function  ::private void OnDragSourcePreviewTouchDown(object sender, TouchEventArgs e)   ,but  this is  for  the drag and drop  ,how  can i  solve  it ?thank you very much

解决方案

Hello,

You need to set the .CanRotate and .CanScale to true when creating the ScatterViewItem in code.

Hope this helps you.


这篇关于从surfacelitbox拖动到scatterview的项目无法通过缩放和旋转进行操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆