会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Index
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2019年5月28日
Resharper
摘要: http://idea.iteblog.com/ http://idea.iteblog.com/key.php http://xidea.online
阅读全文
posted @ 2019-05-28 15:35 Index_Zero
阅读(174)
评论(0)
推荐(0)
2019年5月20日
WPF两个按钮来回切换样式
摘要: <!-- 两个按钮来回切换样式 --> <Style x:Key="SwicthFunctionMetroToggleButton" TargetType="{x:Type ToggleButton}"> <Setter Property="Background" Value="White" />
阅读全文
posted @ 2019-05-20 13:31 Index_Zero
阅读(1770)
评论(0)
推荐(0)
2019年5月16日
禁用,移除 WPF window窗体系统操作SystemMenu
摘要: public static class SystemMenuManager { [DllImport("user32.dll", EntryPoint = "GetSystemMenu")] private static extern IntPtr GetSystemMenu(IntPtr hwnd
阅读全文
posted @ 2019-05-16 13:23 Index_Zero
阅读(652)
评论(0)
推荐(0)
2019年5月5日
选择文件选择文件夹
摘要: namespace Microsoft.Win32 选择文件: if (string.IsNullOrEmpty(folderInitialDirectory)) { folderInitialDirectory = FileAndFolderOperation.Instance.GetUserDo
阅读全文
posted @ 2019-05-05 13:28 Index_Zero
阅读(1468)
评论(0)
推荐(0)
2019年4月4日
WPF PrismDialog PopupWindowAction使用MetroWindow
摘要: 本示例必须在prism5.0版本以上 PopupWindowAction如何使用MetroWindow? public class Window1ViewModel:BindableBase,IInteractionRequestAware { #region Properties private
阅读全文
posted @ 2019-04-04 16:03 Index_Zero
阅读(817)
评论(0)
推荐(0)
2018年12月15日
WPF 定义Lookless控件的默认样式、 OnApplyTemplate 如何使用(实现方式、如何工作的)!
摘要: 写的非常详细: 作者地址:https://www.cnblogs.com/atskyline/archive/2012/11/16/2773806.html 参考资料: http://www.codeproject.com/Articles/14340/Creating-a-look-less-cu
阅读全文
posted @ 2018-12-15 13:51 Index_Zero
阅读(277)
评论(0)
推荐(0)
2018年12月12日
WPF MeasureOverride和 ArrangeOverride做个 页面导航
摘要: 当然这只是个半成品,还可以向NavigationPanel中加入子控件来做一个完整的导航。 用MeasureOverride和 ArrangeOverride做导航最大的好处是: 1、在控件的最上层 2、可以随着窗体大小来调整Height 导航实现方式有很多,这个纯粹是为了MeasureOverri
阅读全文
posted @ 2018-12-12 15:51 Index_Zero
阅读(293)
评论(0)
推荐(0)
MeasureOverride和ArrangeOverride 练手项目
摘要: public class Diagnol:Panel { /// /// 测量 /// /// This的尺寸 /// protected override Size MeasureOverride(Size availableSize) { Si...
阅读全文
posted @ 2018-12-12 15:15 Index_Zero
阅读(301)
评论(0)
推荐(0)
2018年12月10日
XAML 调试工具 不见了?
摘要: XAML调试工具不见了怎么办? 1、调试 > 选项 > 选中 启用XAML的UI调试工具 2、调试 > 选项 > 禁用 使用托管兼容模式 欧了!
阅读全文
posted @ 2018-12-10 19:54 Index_Zero
阅读(661)
评论(0)
推荐(0)
未能加载文件或程序集,PublicKeyToken=“**********”,或它的某一个依赖项。强名称验证失败。
摘要: 就是这种错误。这种错误怎么办? 以下步骤: (以上图dll为例) 1、看项目的Debug文件夹下是否有以下三个文件 2、看项目的.csproj文件下引用的报错dll的publickeytoken和版本是否正确 [可能需要使用sn.exe 来查看 dll的publickey值],我也不知道为什么vs重
阅读全文
posted @ 2018-12-10 13:24 Index_Zero
阅读(2383)
评论(2)
推荐(0)
上一页
1
2
3
下一页
公告