在运行时在wpf应用程序中旋转按钮.. [英] Rotate button at runtime in wpf application..

查看:137
本文介绍了在运行时在wpf应用程序中旋转按钮..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在开发一个wpf应用程序。在这个应用程序中,我有一个堆栈面板和一个按钮。我需要在运行pgm时由用户手动旋转此按钮。我的意思是,我需要为用户提供改变该按钮角度的设施。



请提供解决方案。



提前谢谢。

解决方案

浏览转换概述 [ ^ ]。

WPF中的RotateTransform [ ^ ]。

尝试 WPF教程 - 第1部分:转换 [ ^ ]。

Hi,

I am developing a wpf application. In this application i have a stack panel and a button in that. I need to rotate this button manually by the user while running the pgm. I mean, I need to provide a facility to the user to change the angle of that button.

Please provide a solution.

Thanks in advance.

解决方案

Go through Transformations Overview[^] in WPF.
Another link to RotateTransform in WPF[^].
Try WPF Tutorial - Part 1 : Transformations[^].


这篇关于在运行时在wpf应用程序中旋转按钮..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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