摘要:
参考: https://www.cnblogs.com/callyblog/p/8044963.html https://www.cnblogs.com/zhoujg/archive/2009/12/04/1616713.html <Window.Resources> <!-- 启用虚拟化 --> 阅读全文
摘要:
参考:https://www.cnblogs.com/MyWPF/p/14734681.html 阅读全文
摘要:
一、ContextMenu 如图,基本样式结构 <Style TargetType="{x:Type ContextMenu}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Con 阅读全文
摘要:
此图片为Base64字符串,如何做到的呢?以下内容将介绍实现步骤; 1、创建Base64字符串转换器: public class Base64ToImage : IValueConverter { public object Convert(object value, Type targetType 阅读全文
摘要:
WPF PasswordBox 参考:https://blog.csdn.net/candy_zkn/article/details/9383007 WPF 将TextBox更改为PasswordBox样式(文字显示方式为密码) 参考:https://www.cnblogs.com/callyblo 阅读全文
摘要:
WPF path - WPF 使用 SVG 参考:https://blog.csdn.net/badxnui/article/details/111529265 阅读全文
摘要:
WPF pack uri 参考:https://www.cnblogs.com/denghejun/p/3794670.html 阅读全文
摘要:
使用参考: https://www.cnblogs.com/lindexi/p/12932701.html https://www.cnblogs.com/hicolin/p/8804722.html 阅读全文
摘要:
WPF Hyperlink 参考:https://www.cnblogs.com/dino623/p/WPF_HyperlinkButton.html 阅读全文
摘要:
WPF Template、ControlTemplate、ContentTemplate、DataTemplate、ContentControl 参考:https://www.cnblogs.com/tommy-huang/p/5911140.html 阅读全文
摘要:
WPF ContentPresenter 参考:https://www.cnblogs.com/MyWPF/p/14262883.html 阅读全文
摘要:
一、标准Window 二、WindowChrome的基本概念 若要自定义窗口,同时保留其标准功能,可以使用WindowChrome类。 WindowChrome类窗口框架的功能分离开来视觉对象,并允许您控制的客户端和应用程序窗口的非工作区之间的边界。 <WindowChrome.WindowChro 阅读全文
摘要:
一、WPF TabControl 数据绑定 WPF TabItem绑定 参考:http://cn.voidcc.com/question/p-qqyuxlvm-ex.html WPF如何绑定tabitem与列表 参考:http://cn.voidcc.com/question/p-faompnxo- 阅读全文
摘要:
WPF Button 控件 一、WPF Button 添加图片 <Button> <Button.Content> <Image Stretch="Fill" Source="pack://application:,,,/程序集;component/images/demo.png"/> </Butt 阅读全文
摘要:
参考:https://www.cnblogs.com/xinyf/p/10148515.html 阅读全文
摘要:
参考:WPF 开源gif控件WpfAnimatedGif的使用方法 https://www.cnblogs.com/liunlls/p/wpf-gif.html https://blog.csdn.net/xinlingjun2007/article/details/80833378 阅读全文
摘要:
WPF开发微信二、微信登录界面 登录界面 尺寸: 外围:318 X 438 可视化:280 X400 登录按钮:140X 38 文本框:* X 28 设置按钮:56 X 28 颜色: 登录按钮背景色:#1aad19 鼠标经过背景色:#129611 账户文字前色:#878787文字前色:#436895 阅读全文
摘要:
WPF开发微信一、环境搭建 1、语言版本 C# 2、公告样式 3、页面样式 4、SVG图标 5、Base64图片 6、控件拓展 7、运行机制 主线程不动,使用子线程执行、调度、更新,确保程序崩溃 Thread、Task 或者 BackgroundWorker 8、消息机制 使用线程池入列与出列,确保 阅读全文