2018年12月28日

WPF中通过代码设置控件的坐标

摘要: Canvas.SetTop(myCanvas1, 0); Canvas.SetLeft(myCanvas1, 0); 阅读全文

posted @ 2018-12-28 20:48 范兵 阅读(2932) 评论(0) 推荐(0) 编辑

wpf 遍历控件及其值

摘要: private void SetNotEditable(UIElementCollection uiControls) { foreach (UIElement element in uiControls) { if (element is TextBox) { TextBox txtBox = ( 阅读全文

posted @ 2018-12-28 20:48 范兵 阅读(817) 评论(0) 推荐(0) 编辑

System.Windows.Freezable 在未被引用的程序集中定义

摘要: System.Windows.Freezable 在未被引用的程序集中定义 解决方法 添加windowsbase.dll 引用 阅读全文

posted @ 2018-12-28 20:47 范兵 阅读(570) 评论(0) 推荐(0) 编辑

导航