[置顶] Silverlight公用拖动器与设置
摘要:
由于需要用到打印设计器与单据设计器,因此写了一个sl公用拖动器,以及能够设置控件大小。由于部份控件无法获取MouseLeftButtonDown事件,如TextBox或Button,则只能通过左上角拖动,其他则支持直接拖动。效果:模板代码:View Code <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns: 阅读全文
posted @ 2012-05-27 05:32 拓普 阅读(351) 评论(0) 推荐(1)
浙公网安备 33010602011771号