WPF使用装饰器实现SAP焦点样式(改进版)

上传者: qing2005 | 上传时间: 2022-04-22 19:37:51 | 文件大小: 61KB | 文件类型: RAR
思路: 1.定义一个自定义AdornerDecorator,用于为控件创建一个AdornerLayer; 2.在AdornerLayer上定义自定义的装饰器样式

文件下载

资源详情

[{"title":"( 38 个子文件 61KB ) WPF使用装饰器实现SAP焦点样式(改进版)","children":[{"title":"AdornerDecoratorDemo","children":[{"title":"App.xaml.cs <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"MyAdornerDecorator.cs <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1017B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"SimpleAdorner.cs <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorHelper.cs <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.csproj <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo_MarkupCompile.lref <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"App.baml <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.g.resources <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo_MarkupCompile.i.lref <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.pdb <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo_MarkupCompile.cache <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo_MarkupCompile.i.cache <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.exe <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"AdornerDecoratorDemo.pdb <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"AdornerDecoratorDemo.exe <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • derry_liang :
    效果不错,仿制SAP效果
    2014-07-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明