Windows Phone 7 不温不火学习之《使用Expression Blend 创建应用程序栏》
上篇学习文章漏了一个知识点,就是如何显示和隐藏系统托盘(System Tray),在这里补一下,显示或者隐藏系统托盘需要引入Microsoft.Phone.Shell这一命名空间,下面我写了一个Toggle System Tray 的方法,代码如下:
 
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->this.SetValue(SystemTray.IsVisibleProperty, !(bool)this.GetValue(SystemTray.IsVisibleProperty));
 
下面是两张效果的比较:
【使用托盘代码之前】
【使用托盘代码之后】
去托盘的方法相对于Android 来说差不多,
http://www.cyqdata.cn/cnblogs/article-detail-1655 
Expression Blend制作画卷效果
 
Expression Blend中可以方便的导入Photoshop或者illustrator的文件来创建我们的WPF或者Silverlight应用程序。
本文将一个具体的实例导入Photoshop文件并制作一个画卷的效果。PSD下载位置为:http://www.lanrentuku.com/psd/sheji/2688.html
1.找到画卷的素材,如下图
  
2. 我们在画卷中写一首诗或者是什么武林秘籍之类的文字,如下图,我写了“九阴真经”这几个字,如下图
 
3.下面我们创建我们的应用程序,创建WPF应用程序或者Silverlight应用程序,这里我创建的是WPF应用程序,取名为PaperScroll
选择文件,导入我们的PSD文件,如下图
 
选择好PSD文件后,会弹出如下的窗体,
http://www.cyqdata.cn/cnblogs/article-detail-1654 
Expression Blend入门
 本文将介绍如何选择合适的开发环境做WPF、SilverLight或者WP7,以及一些简单的Demo。 
如果你想创建WPF、Silverlight或者是Windows Phone项目,你可以按照下面来选择相应的环境搭建:
  
开发Windows Phone 
Windows Phone Developer Tools 
你可以只安装这个就能进行WP7的开发。这个是All-In-One的安装包,包括一个专门为开发Windows Phone应用程序的Expression Blend、Visual Studio以及开发手机游戏的XNA Game Studio! 
具体的清单如下:
安装Windows Phone Developer Tools所包含的工具集合如下: 
    * Visual Studio 2010 Express for 
http://www.cyqdata.cn/cnblogs/article-detail-136 
Expression Blend使用笔刷
 Expression Blend可以让我们十分方便的创建基于WPF的UI,在本文中,我会介绍如何使用WPF画图形,并使用颜色等元素去修饰图形。   什么是笔刷? MSDN是这样解释的:Everything visible on your screen is visible because it was  painted by a brush. For example, a brush is used to describe the background of a  button, the foreground of text, and the fill of a shape. This topic introduces  the concepts of painting with Windows Presentation Foundation (WPF) brushe
http://www.cyqdata.cn/cnblogs/article-detail-125 
