<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Amanda2007</title><subtitle type="text">美好生活，自己创造。 </subtitle><id>http://feed.cnblogs.com/blog/u/31152/rss</id><updated>2009-04-28T07:56:38Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/31152/rss"/><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445495.html</id><title type="text">使用Silverlight的TreeView控件，数据源为xml</title><summary type="text">Silverlight 的Treeview支持机构类型的数据，这样的我们就可以将一个xml文件做为TreeView的数据源了。在Silverlight 2 的版本中TreeView 控件和HierarchicalDataTemplate 模版对象都是在 Microsoft.Windows.Controls 空间下的， 所以在Silverlight版本中，我们这样来实现：[代码]但是在Silverl...</summary><published>2009-04-28T07:57:00Z</published><updated>2009-04-28T07:57:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445495.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445495.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445323.html</id><title type="text">使用InkPresenter实现手绘和擦除</title><summary type="text">使用Silverlight中InkPresenter控件可以实现手绘的效果，如下图所示：实现上图中的手绘的效果代码如下：1. Xaml代码：[代码]如上的xaml所示，我们需要对InkPresenter的mouse事件做些处理：[代码]。Silverlight中并没有指定的类型和方法来擦除Stroke， 然而，我们可以使用HitTest 和 HitTest 方法来实现擦出的效果。这两个中方法都是将...</summary><published>2009-04-28T04:12:00Z</published><updated>2009-04-28T04:12:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445323.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/28/1445323.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441939.html</id><title type="text">Silverlight不支持GIF或BMP文件格式</title><summary type="text">很多人对此表示惊讶，但确实无法把silverlight Image的source属性（或ImageBrush的ImageSource属性）设置为一个GIF或BMP文件。必须把他们转化成受支持的2中格式之一：PNG或JPEG。而且，silverlight并不支持用这两种格式创建的所有类型。例如，不支持64位每像素图像。值得庆幸的是，PNG是替代GIF的上佳之选。（实际上，他就是设计用来替代GIF文件...</summary><published>2009-04-23T03:46:00Z</published><updated>2009-04-23T03:46:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441939.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441939.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441917.html</id><title type="text">RotateTransform的CenterX和CenterY和元素的RenderTransformOrigin属性与</title><summary type="text">我们可以使用RotateTransform的CenterX和CenterY属性来定义元素的旋转中心，如下：[代码]但是我们仍然可已使用元素的RenderTransformOrigin属性来表示变换中心。如下：[代码]那么，我们就会问了，既然元素已经有了一个RenderTransformOrigin属性了，为什么象RotateTransform这样的变换还有CenterX和CenterY呢？首先，C...</summary><published>2009-04-23T03:25:00Z</published><updated>2009-04-23T03:25:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441917.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/23/1441917.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440743.html</id><title type="text">方法的签名和重载</title><summary type="text">方法、实例构造函数、索引器和运算符是由它们的签名来刻画的： 方法签名由方法的名称和它的每一个形参（按从左到右的顺序）的类型和种类（值、引用或输出）组成。需注意的是，方法签名既不包含返回类型，也不包含 params 修饰符（它可用于最右边的参数）。实例构造函数签名由它的每一个形参（按从左到右的顺序）的类型和种类（值、引用或输出）组成。具体说来，实例构造函数的签名不包含可为最右边的参数指定的 para...</summary><published>2009-04-21T11:48:00Z</published><updated>2009-04-21T11:48:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440743.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440743.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440643.html</id><title type="text">在silverlight的DataGrid中实现Combox列的绑定</title><summary type="text">如果想在Silverlight的dataGrid控件中，有个Combox列，如何实现在dataGrid的列里实现Combox数据源的绑定？废话少说直接看代码，就能知晓：1、 XAML代码：[代码]2. 后台代码：[代码]3. CityProvider 类：[代码]参考文章： http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox...</summary><published>2009-04-21T09:26:00Z</published><updated>2009-04-21T09:26:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440643.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440643.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440302.html</id><title type="text">Silverlight 中的字体</title><summary type="text">在使用silverlight开发的过程中，也许你会发现同样的字体、同样的字号，在silverlight和asp.net的页面最终现实的结果还是有差异的。如上图所示：没有背景的字符是HTML代码的显示结果，代码如下：[代码]有背景颜色的是silverlight的运行效果，一下是xaml代码：[代码]同样的字符，同样的字体，同样的字号，但是显示的最终结果却不相同。原因是silverlight中的fon...</summary><published>2009-04-21T03:27:00Z</published><updated>2009-04-21T03:27:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440302.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/21/1440302.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439822.html</id><title type="text">silverlight 3 支持控件之间值的绑定</title><summary type="text">如果我们想实现一个textblock的只绑定到一个TextBox上，并使是textBlock随着Textbox输入的值而变化，在以前的silverlight版本里，我们需要借助后台的代码来时实现， 如下所示：[代码]在silverlight 3 里，控件之间的熟悉可以户型绑定，不要在后台进行：例如,将一个Textblock的Text属性绑定到Slider控件的value上，在用户拖动slider改...</summary><published>2009-04-20T09:26:00Z</published><updated>2009-04-20T09:26:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439822.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439822.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439687.html</id><title type="text">在silverlight中对xml的操作</title><summary type="text">在silverlight应用程序中操作xml，首先需要引用System.XML.linq.dll。 然后将System.XML.linq添加为命名空间。一、 先说一下写在silverliht 中写xml。首先，可以现在创建一个简单的Person类:[代码]然后创建一个Person类型的对象:[代码]然后我们可以把该对象的数据写入xml,代码如下：[代码]生成的xml的格式如下：[代码]如果你要生成...</summary><published>2009-04-20T06:39:00Z</published><updated>2009-04-20T06:39:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439687.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439687.html"/></entry><entry><id>http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439592.html</id><title type="text">silverlight的windowless属性</title><summary type="text">默认情况下，silverlight控件的实例拥有窗口，但通过设置windowless为true,可以变成一个无窗口的空间。有窗口和无窗口并不是silverlight所独有的，而是针对windows的底层的实现而言的，需要理解的是silverlight的无窗口的两个不同的要点：1.无窗口控件可以改变HTML的z-indexing，这样你就可以把HTML的内容覆盖和重叠在silverlight之上。另...</summary><published>2009-04-20T04:17:00Z</published><updated>2009-04-20T04:17:00Z</updated><author><name>Amanda2007</name><uri>http://www.cnblogs.com/Amanda2007/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439592.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Amanda2007/archive/2009/04/20/1439592.html"/></entry></feed>
