<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" media="screen"?>
<rss version="2.0">
  <channel>
    <title>星辰.Net技术社区论坛 - WPF</title>
    <link>http://www.netcsharp.cn/showforum-21.aspx</link>
    <description>Latest 20 threads</description>
    <copyright>Copyright (c) 星辰.Net技术社区论坛</copyright>
    <generator>Discuz!NT</generator>
    <pubDate>Fri, 21 Nov 2008 18:45:24 GMT</pubDate>
    <ttl>60</ttl>
    <item>
      <title>[WPF疑难]避免窗口最大化时遮盖任务栏</title>
      <description><![CDATA[WPF窗口最大化时有个很不好的现象是：如果窗口的WindowStyle被直接或间接地设置为None后（比如很多情况下你会覆盖默认的窗体样式，即不采用Windows默认的边框和最大化最等按钮，来打造个性的窗体），那么最大化窗口后，窗口将铺满整个屏幕而将任务栏盖住。这往往不符合实际要求。
这里有个不错的解决方案解决了该问题,其通过对 WM_GETMINMAXINFO（MSDN： The WM_GET]]></description>
      <link>http://www.netcsharp.cn/showtopic-1650.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Tue, 04 Nov 2008 23:07:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF中的ImageSource使用心得</title>
      <description><![CDATA[很多时候，我们会使用图片来装饰UI，比如作为控件背景等。
而这些图片可以分为两种形式，即存在于本地文件系统中的图片和存在于内存中的图片
对于这两种形式的图片，在WPF中，使用方法不同，下面主要说明针对这两种形式图片的使用方法
一、存在于本地文件系统中的图片文件
对于此类图片，使用非常简单，在xaml中直接指定路径即可，如：&amp;lt;Button&amp;gt;
    &amp;lt;Button.Bac]]></description>
      <link>http://www.netcsharp.cn/showtopic-1643.aspx</link>
      <category>WPF</category>
      <author>kirayamato</author>
      <pubDate>Sun, 02 Nov 2008 20:48:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite Application Guidance for WPF(5)--依赖注入容器</title>
      <description><![CDATA[1, 为什么要使用依赖注入容器
我们知道, 在Composite Application中各个模块之间是松耦合的关系, 也就是在设计的时候尽可能地减少模块间的依赖,但无论如何从业务角度讲, 他们之间总还是要相互通信与合作的. 所以依赖注入容器在这其中扮演了一个桥梁般的角色.比如当创建某一个组件实例的时候, 其依赖于另外的一个组件或服务, 此时依赖注入容器会将其需要的信息&amp;quot;注入(Inje]]></description>
      <link>http://www.netcsharp.cn/showtopic-1635.aspx</link>
      <category>WPF</category>
      <author>earth</author>
      <pubDate>Wed, 29 Oct 2008 22:10:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite Application Guidance for WPF(4)——Bootstrapper</title>
      <description><![CDATA[在默认情况下,WPF程序的启动方式APP的XAML中指定StartUri,然后IDE会自动帮我们生成一个Main方法,然后将StartUri中指定的窗口New一个出来,并作为应用程序的主窗口,但我们在Composite Application Guidance for WPF(3)——创建第一个示例 (如果你不了解Prism的启动方式,那么建议你阅读) 中改变了这种方式:
        pub]]></description>
      <link>http://www.netcsharp.cn/showtopic-1611.aspx</link>
      <category>WPF</category>
      <author>star65225692</author>
      <pubDate>Sat, 25 Oct 2008 22:48:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF用VisualBrush定制复杂的按钮样式</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_BSTYLE_logo.jpg
VisualBrush是一种比较特殊的笔刷，它的功能仍然是用来给元素填充图案，但它的内容却可以是各种控件。
你可以将其理解为一个普通的容器，但在其内部的所有控件都会失去交互能力，而只保留显示能力。
你可以通过本例学习到关于VisualBrush的使用方法，以及复杂样式]]></description>
      <link>http://www.netcsharp.cn/showtopic-1451.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Thu, 18 Sep 2008 10:52:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite Application Guidance for WPF(3)--创建第一个示例</title>
      <description><![CDATA[1.
前提条件：
你需要下载到CAL（Composite application library）库，实际上就是几个DLL文件，在项目中将会引用到他们来打造我们的程序，你可以从这里下载到它们。当然你也需要一个能打造WPF应用的IDE，比如VS2008。
2．创建Shell Project
         2.1．在VS中新建一个WPF Application，将CAL库文件添加到项目引用]]></description>
      <link>http://www.netcsharp.cn/showtopic-1449.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Wed, 17 Sep 2008 00:35:00 GMT</pubDate>
    </item>
    <item>
      <title>ListView 中 View 的模板替换（添加/删除列）</title>
      <description><![CDATA[在WPF中使用ListView，往往需要根据情况隐藏或显示ListView的某一列，我们当然可以通过代码来对付它（利用VisualTreeHelper.GetChild(listView)来得到某一个Column，然后隐藏它），但是，既然使用了WPF，我们就要入乡随俗，使用模板来处理。其实模板是个好东西，他提供了非常便利的定制机制，你可以把任意可视元素定义的面目全非——当然如果你愿意 http:/]]></description>
      <link>http://www.netcsharp.cn/showtopic-1448.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Wed, 17 Sep 2008 00:21:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF实现无窗体鼠标跟随</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_TX2_0.jpg上次的弹力模拟动画实现后，我觉得可以把这个弄得更好玩一些，我们可以让小球实时跟随着鼠标，并且还可以让窗口完全消失，让小球在桌面上飞来飞去。
这只需要一些简单的修改就可以完成了：
首先要去掉原有的鼠标点击事件处理，它们现在没用了。
在引用中添加对System.Drawing及Syst]]></description>
      <link>http://www.netcsharp.cn/showtopic-1393.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Mon, 08 Sep 2008 07:30:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF弹性模拟动画</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_TX_0.gif我们此次将要制作模拟物理中的弹性现象的交互动画，我们让一个小球向鼠标点击位置移动，这个移动的轨迹不是简单的位移，而是根据胡克定律计算得出的。

胡克定律：F=-kd

F代表弹性力的大小
d是拉伸的位移
k为弹性系数
在我们的动画中还将加入摩擦力，否则物体就如在真空中运动，永]]></description>
      <link>http://www.netcsharp.cn/showtopic-1388.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Sat, 06 Sep 2008 20:30:00 GMT</pubDate>
    </item>
    <item>
      <title>[WPF疑难]在WPF中显示动态GIF</title>
      <description><![CDATA[在我们寻求帮助的时候,最不愿意听到的答复是:很抱歉,在当前版本的产品中还没有实现该功能...在WPF中显示动态的GIF图像时便遇到了这样的问题,WPF中强大的Image控件却不支持动态的GIF(其只能显示第一帧).当然,我们可以......]]></description>
      <link>http://www.netcsharp.cn/showtopic-1382.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Thu, 04 Sep 2008 15:09:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite Application Guidance for WPF(2)--CAL</title>
      <description><![CDATA[1，一个Composite Application 的基本组成
Composite Application Library（CAL）作为Composite Application Guidance的最重要的组成部分，为我们提供打造Composite Application的最基础的组件和服务。
看看下面这张图
http://images.cnblogs.com/cnblogs_com/zho]]></description>
      <link>http://www.netcsharp.cn/showtopic-1378.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Thu, 04 Sep 2008 07:05:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF动态改变主题颜色</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_STYLECOLOR_LOGO.gif
程序允许用户根据自己的喜好来对界面进行配色，这种技术在很多软件中都有应用，比如这款名为AirPlay的音乐播放器软件：

http://images.cnblogs.com/cnblogs_com/skyd/WPF_STYLECOLOR_5.jpg

下面]]></description>
      <link>http://www.netcsharp.cn/showtopic-1371.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Tue, 02 Sep 2008 13:31:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite Application Guidance for WPF(1)--概览</title>
      <description><![CDATA[什么是Composite Application Guidance for WPF（以下简称Prism）我们想象一下，在复杂的企业级开发中，我们的开发规模非常的大，以至于我们需要将其分解成多个小的模块，以便分发给不同的人，甚至是在不同地方的团队分别进行开发和测试，最后我们在将这些相对独立的模块集成起来形成一个完整的应用。所以我们需要找到一种方法来帮助我们划分和组织这些模块，以使他们相对独立（低耦合]]></description>
      <link>http://www.netcsharp.cn/showtopic-1362.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Mon, 01 Sep 2008 23:32:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF中的RoutedEvent机制详解</title>
      <description><![CDATA[WPF中的事件类型RoutedEvent是一种可以延逻辑树LogicalTree进行传递的冒泡式的事件类型,如何充分利用这种特性呢?举个例子,在元素A下有元素B下有元素C,C下有事件被激发了,那么肯定会冒泡传递到B再到A,那么在A上面可以......]]></description>
      <link>http://www.netcsharp.cn/showtopic-1289.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Thu, 14 Aug 2008 01:40:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF问题集</title>
      <description><![CDATA[为什么图片像素是模糊的？

容器边框设为非整数时，其内容中的像素图片会产生模糊，即使设置SnapsToDevicePixels=&amp;quot;True&amp;quot;也无效。

以下是范例代码：
&amp;lt;Page

  xmlns=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;

  xmlns]]></description>
      <link>http://www.netcsharp.cn/showtopic-1287.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Wed, 13 Aug 2008 22:02:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF中的流文档讲解</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_FLOWDOC_0.png

流文档是WPF中的一种独特的文档承载格式，它的书写和呈现方式都很像HTML，它也几乎具备了HTML的绝大多数优势，并提供了更强的编程支持及对WPF其他元素的兼容。

直接来看代码吧，需要讲解的地方比较多，我就直接注释在代码里了，看起来更方便些：&amp;lt;Window x]]></description>
      <link>http://www.netcsharp.cn/showtopic-1283.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Tue, 12 Aug 2008 09:11:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF中样式的继承</title>
      <description><![CDATA[http://images.cnblogs.com/cnblogs_com/skyd/WPF_BASEON_0.png

 


 
WPF的样式的继承属性极少被文章提及，以至于我在编写MailMail期间为此踌躇数日，最后终于在E文版的MS社区得到指点才得以解惑。

现将其分享出来，这是一个非常有用的特性，这是所有教程在讲Style时就该顺带讲出来的，我希望更多人看到，以少走弯路]]></description>
      <link>http://www.netcsharp.cn/showtopic-1273.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Sat, 09 Aug 2008 18:21:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF自定义CheckListBox</title>
      <description><![CDATA[http://www.cnblogs.com/images/cnblogs_com/skyd/WPF_CHECKLISTBOX_0000.png
近年来IT市场山寨横行啊，我们今天也来发扬一下山寨精神，搞个自制的CheckListBox出来。

喏，CheckListBox 就是下面这玩意啦：


http://www.cnblogs.com/images/cnblogs_com/sk]]></description>
      <link>http://www.netcsharp.cn/showtopic-1257.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Thu, 24 Jul 2008 12:52:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF模拟电梯升降的缓动动画</title>
      <description><![CDATA[http://www.cnblogs.com/images/cnblogs_com/skyd/WPF_ANI_1_0000.png

如同Flash一样，WPF的亮点之一也在于其擅于表现平滑的动画效果，但以移动动画来说，仅凭简单的起始位置、目标位置，所产生的动画仍会非常生硬，这种动画忽略了移动开始时的加速过程与移动结束时的减速过程。

WPF在关键帧动画中提供了样条内插(Spline)型的]]></description>
      <link>http://www.netcsharp.cn/showtopic-1251.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Wed, 23 Jul 2008 09:41:00 GMT</pubDate>
    </item>
    <item>
      <title>WPF实现数字墨水手绘涂鸦</title>
      <description><![CDATA[http://www.cnblogs.com/images/cnblogs_com/skyd/ink.png 

想让你的程序支持鼠标及手写笔涂鸦吗？只要敲入“&amp;lt;InkCanvas/&amp;gt;”这几个字符，你就会领悟什么叫“很好很强大”，今天我们来做一个手写板的演示，你可把它当作屏幕便笺使用。

首先要用
Microsoft Expression Design 2
画一幅英俊的界面]]></description>
      <link>http://www.netcsharp.cn/showtopic-1238.aspx</link>
      <category>WPF</category>
      <author>admin</author>
      <pubDate>Sat, 19 Jul 2008 10:01:00 GMT</pubDate>
    </item>
  </channel>
</rss>