摘要: 1.Exception <TextBox Width="120" Text="{Binding Name,ValidatesOnExceptions=True,UpdateSourceTrigger=PropertyChanged}" ToolTip="{Binding RelativeSource 阅读全文
posted @ 2023-10-19 18:26 zhangxiuju 阅读(78) 评论(0) 推荐(0)
摘要: 1.添加引用 - Microsoft.Expression.Interactions.dll -System.Windows.Interactivity xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"xmlns 阅读全文
posted @ 2023-10-19 16:51 zhangxiuju 阅读(44) 评论(0) 推荐(0)
摘要: https://www.kancloud.cn/digest/xing-designpattern/143724 阅读全文
posted @ 2023-10-19 16:25 zhangxiuju 阅读(68) 评论(0) 推荐(0)
摘要: 普通触发器Trigger(MultiTrigger),数据触发器DataTrigger(MultiDataTrigger),事件触发器EventTrigger 以下三种场合都可使用,注意默认设定对象。 1.style中使用 <Style TargetType="{x:Type CheckBox}"> 阅读全文
posted @ 2023-10-19 16:19 zhangxiuju 阅读(176) 评论(0) 推荐(0)
摘要: 非导航模式 1.同一个Region可注册多个UserControl regionManager.Resolve<IRegionManager>().RegisterViewWithRegion("mainRegion", typeof(UserControl1));regionManager.Res 阅读全文
posted @ 2023-10-19 15:42 zhangxiuju 阅读(121) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/lvxingzhe3/article/details/129941884 https://www.cnblogs.com/liuww/archive/2023/06/14/17481402.html 阅读全文
posted @ 2023-10-19 15:30 zhangxiuju 阅读(20) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_44228698/article/details/108744762 1,await从线程池中获取线程执行。 2,await后的代码从线程池中获取线程执行,与1中的线程号可能相同,也可能不同。 3,UI线程执行async,await后的代码回 阅读全文
posted @ 2023-10-19 15:22 zhangxiuju 阅读(23) 评论(0) 推荐(0)