源码工作室

目标:通俗的语言说出通俗的技术
posts - 88, comments - 655, trackbacks - 7, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 ::  :: 管理

公告

WPF & Silverlight

摘要: WPF工程中,用Blend工具自定义了许多ResourceDictionary,在各个工程中公用的方法: 1.创建一个新的工程,然后把ResourceDictionary文件加入到改工程中。 2. 使用改ResourceDictionary的工程添加共享工程的reference,并在使用的窗口中合并dictionary,合并代码如下: <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,阅读全文

posted @ 2011-09-01 09:37 源码工作室 阅读(322) | 评论 (0) 编辑 |

摘要: As you can tell from the above figure, there are 4 kinds of Templates available within WPF.1. ControlTemplate - You use this, when you want to completely redefine the visual appearance of any control. Say, you don't want a radiobutton to look like a radiobutton - you want it to look like a smile阅读全文

posted @ 2008-12-04 13:30 源码工作室 阅读(387) | 评论 (0) 编辑 |