11 2012 档案

摘要:http://www.codeproject.com/Articles/26288/Simplifying-the-WPF-TreeView-by-Using-the-ViewMode 阅读全文
posted @ 2012-11-15 13:02 Jerome's Blog 阅读(298) 评论(0) 推荐(0) 编辑
摘要:<Border.Background> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="White" Offset="0"/> <GradientStop Color="#E5E7EB" Offset="0.93"/> </LinearGradientBrush> </Border.Background> 阅读全文
posted @ 2012-11-13 15:23 Jerome's Blog 阅读(5733) 评论(0) 推荐(0) 编辑
摘要:<Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Resource/ucWindowDictionary.xaml"></ResourceDictionary> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resource. 阅读全文
posted @ 2012-11-13 15:16 Jerome's Blog 阅读(1411) 评论(0) 推荐(0) 编辑
摘要:1. 引用当前工程的资源(注意xxxx.png的build action 应设置为Resource 或Embedded Resource)<ImageBrush ImageSource="/currentAssemblyName;component/subfoldername/xxxx.png"/>2. 引用其它工程的资源 (注意xxxx.png的build action 应设置为Resource 或Embedded Resource)<ImageBrush ImageSource="pack://application:,,,/otherAss 阅读全文
posted @ 2012-11-13 15:14 Jerome's Blog 阅读(840) 评论(0) 推荐(0) 编辑
摘要:前段时间在研究winform如何绘制半透明的窗体,要达到预期的效果很是麻烦,用WPF就简单多了先来看看效果:实现windows1.xaml<Window x:Class="JStore.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300&q 阅读全文
posted @ 2012-11-05 14:22 Jerome's Blog 阅读(5361) 评论(0) 推荐(0) 编辑