摘要: public List<T> GetChildObjects<T>(DependencyObject obj, Type typename) where T : FrameworkElement { DependencyObject child = null; List<T> childList = new List<T>(); for (int i = 0; i <= VisualTreeHel 阅读全文
posted @ 2019-09-03 15:07 akiing 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 1、 前往文件夹 /用户/aki/.cocoapods/repos/master/1/9/2/libwebp 2、编辑libwebp.podspec.json 将source git 改为 https://github.com/webmproject/libwebp.git 阅读全文
posted @ 2019-04-12 19:54 akiing 阅读(3673) 评论(0) 推荐(0) 编辑
摘要: xcode Could not launch "" ; “”“ has denied the launch request (注意,这种方式不能调试) 1、编辑scheme 2、Build Configuration是Debug;Debug executable取消选中 阅读全文
posted @ 2019-03-14 11:14 akiing 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 1、https://stackoverflow.com/questions/37806538/code-signing-is-required-for-product-type-application-in-sdk-ios-10-0-stic 2、钥匙串访问,删除证书,修改登录限制 阅读全文
posted @ 2019-03-14 11:02 akiing 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: 因为datagridtemplatecolumn不在Virsual Tree中,不能继承DataGrid的DataContext, 所以想要绑定到datagridtemplatecolumn的 visibility ,需要添加一个代理 1、在Resources添加FrameworkElement,D 阅读全文
posted @ 2019-01-28 16:57 akiing 阅读(1068) 评论(1) 推荐(1) 编辑
摘要: 解决方案: 将Listbox 的ItemTemplateSelector 改为 ItemContainerStyle中ContentPresenter ContentTemplateSelector 属性 阅读全文
posted @ 2019-01-08 16:12 akiing 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: 1、定义获取缓存策略的接口 2、TargetType 实现该接口 3、实现PluginType 4、应用PluginType 阅读全文
posted @ 2018-09-29 15:18 akiing 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 用法:依赖属性 SelectTextOnFocus.Active = True public class SelectTextOnFocus : DependencyObject { public static readonly DependencyProperty ActiveProperty = DependencyProperty.RegisterAttached(... 阅读全文
posted @ 2018-09-28 10:37 akiing 阅读(2515) 评论(0) 推荐(0) 编辑
摘要: 1.安装vmware tool 2.关闭虚拟机,在设置中找到显示器项 3.选中“加速3D图形” 4.在监视器中,选中 指定监视器设置,使用任意分辨率 5.如果没有可用分辨率,手动输入,例如 1680*1050 阅读全文
posted @ 2018-09-19 17:47 akiing 阅读(4625) 评论(0) 推荐(0) 编辑
摘要: 可以调用以下语句通知 CommandManager.InvalidateRequerySuggested(); 阅读全文
posted @ 2018-07-25 16:03 akiing 阅读(995) 评论(0) 推荐(0) 编辑