03 2021 档案

摘要:1,进行Attributes设定,模板注册 2,注册依赖项属性 3,进行OnApplyTemplate() 进行模板元素的事件绑定. 4,FlipPanel.xmal解析 5,总结 最后一个参数表示是否触发xaml中的VisualTransition. 阅读全文
posted @ 2021-03-09 15:12 frogkiller 阅读(210) 评论(0) 推荐(0)
摘要:一,ColorPicker的实现 1,自定义属性 自定义依赖项属性(propdp模板快速定义) DefaultStyleKeyProperty.OverrideMetadata(typeof(ColorPicker), new FrameworkPropertyMetadata(typeof(Col 阅读全文
posted @ 2021-03-09 14:53 frogkiller 阅读(503) 评论(0) 推荐(0)
摘要:1,附加的依赖性属性的建立和使用. 附加依赖性属性的建立 public UIPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerc 阅读全文
posted @ 2021-03-09 14:30 frogkiller 阅读(163) 评论(0) 推荐(0)
摘要:1,利用PLC数据类型进行操作的时候,注意不要一个一个的改,需要将所有数据类型COPY到EXCEL改完再黏贴回去.否则会出问题. 2,利用博图的比较功能,比对旧档,可以快速的进行程序的定位和更改. 阅读全文
posted @ 2021-03-05 11:51 frogkiller 阅读(835) 评论(0) 推荐(0)
摘要:1,PowerCommands for Visual Studio https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.PowerCommandsforVisualStudio Copy As ht 阅读全文
posted @ 2021-03-04 23:40 frogkiller 阅读(125) 评论(0) 推荐(0)