心如止水

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年5月30日

摘要: LabelTool有一个SmallImage属性,是一个ImageSource类型,试图去旋转这个ImageSource没有成功。有个类TransformedBitmap可以用来旋转ImageSource,但它只支持90度旋转,所以不能用。于是通过更改它的Template实现。xaml:View Code <Window x:Class="RotatingImageInLabelTool.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml 阅读全文
posted @ 2012-05-30 14:55 cutebear 阅读(374) 评论(0) 推荐(0) 编辑