2018年1月4日

wpf 用户自定义事件传参

摘要: //自定义传参 ,对外联系的参数 public class ImageZoomChangedEventArgs : RoutedEventArgs { /// /// 放大倍数,1:原始尺寸 /// public int Zoom { get; set; } public ImageZoomChanged... 阅读全文

posted @ 2018-01-04 15:28 Shine-Zhong 阅读(621) 评论(0) 推荐(0) 编辑

wpf image 指定Stretch="None" 不拉伸的时候,仍然拉伸的解决办法

摘要: I think TI82 is right on this issue. The image become bigger than you expect because its dpi doesn't match the dpi of your system setting. A simply wo 阅读全文

posted @ 2018-01-04 11:50 Shine-Zhong 阅读(621) 评论(0) 推荐(0) 编辑

导航