在metro风格的应用程序中旋转控件 [英] Rotating a control in metro style apps

查看:73
本文介绍了在metro风格的应用程序中旋转控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





< grid canvas.left =569canvas.top =480width =409rendertransformorigin =0.5,0.5 >

< grid.rendertransform>

< compositetransform>







< ellipse verticalalignment =Tophorizo​​ntalalignment =Centerwidth =20fill =Blueheight =20>

ManipulationMode = 旋转ManipulationDelta =Ellipse_ManipulationDeltaManipulationStarting =Ellipse_ManipulationStartingManipulationCompleted =Ellipse_ManipulationCompleted>

< local:myusercontrol1 x:name =testControlmargin =0,20xmlns:x =#unknownxmlns:local =#unknown>

ManipulationMode =AllRenderTransformOrigin =0.5,0.5>

< local:myusercontrol1 .rendertransform>

< compositetransform>











我需要根据windows商店应用中的椭圆旋转网格控件



有人可以帮忙吗?



提前致谢。



Vinay

Hi,

<grid canvas.left="569" canvas.top="480" width="409" rendertransformorigin="0.5,0.5">
<grid.rendertransform>
<compositetransform>



<ellipse verticalalignment="Top" horizontalalignment="Center" width="20" fill="Blue" height="20">
ManipulationMode="Rotate" ManipulationDelta="Ellipse_ManipulationDelta" ManipulationStarting="Ellipse_ManipulationStarting" ManipulationCompleted="Ellipse_ManipulationCompleted">
<local:myusercontrol1 x:name="testControl" margin="0,20" xmlns:x="#unknown" xmlns:local="#unknown">
ManipulationMode="All" RenderTransformOrigin="0.5,0.5">
<local:myusercontrol1.rendertransform>
<compositetransform>





I need to rotate the grid control based on the ellipse in windows store apps

Can anybody please help?

Thanks in advance.

Vinay

推荐答案

这篇关于在metro风格的应用程序中旋转控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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