<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_kuku_分类_Silverlight</title><id>http://feed.cnblogs.com/blog/u/7266/category/279667/rss</id><updated>2012-06-03T02:19:31Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/category/279667.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7266/category/279667/rss"/><entry><id>http://www.cnblogs.com/kuku/archive/2011/11/10/2244010.html</id><title type="text">关于看到传闻微软停止发展 silverlight 的临时想法</title><summary type="text">虽然 silverlight 很酷，但是一直在公司的应用中找不到它的位置。很网站有很多使用 silverlight 做附件上传的功能，这个功能感觉不错，不知道在 HTML5 中是否有相应的解决方案？在画图方面，HTML5 看上去也不错，但是 HTML5 什么时候能到来？好像没有一个时间表。HTML5 视频处理功能是否强大？说得很乱。。。广告-------------------------爱书堂翻云阁</summary><published>2011-11-10T01:25:00Z</published><updated>2011-11-10T01:25:00Z</updated><author><name>匡匡</name><uri>http://www.cnblogs.com/kuku/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kuku/archive/2011/11/10/2244010.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/archive/2011/11/10/2244010.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kuku/archive/2011/01/17/1937543.html</id><title type="text">silverlight 中缓存应用程序相应的库文件</title><summary type="text">如果所开发的 silverlight 应用比较大，可以缓存应用的一些相关的库文件，在 silverlight 中支持对库文件的缓存。启用库文件缓存：打开项目的“属性”框，在 sliverlight 活页中选中“使用应用程序库缓存减少 XAP 大小”选项，然后引用 silverlight SDK 中自带的程序集，然后在程序集的属性页中把“复制本地”属性值设置为 true，这样在生成项目的时候，程序集不会被打包进 XAP 文件中，而是单独打包成一个 .zip 文件。上面的操作说引用 silverlight SDK 自带的程序集时才会被打包成 .zip 文件，如果自定义的程序集也需要打包成 zip </summary><published>2011-01-17T08:34:00Z</published><updated>2011-01-17T08:34:00Z</updated><author><name>匡匡</name><uri>http://www.cnblogs.com/kuku/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kuku/archive/2011/01/17/1937543.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/archive/2011/01/17/1937543.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kuku/archive/2011/01/15/1936131.html</id><title type="text">在 silverlight 自由绘图（WriteableBitmapEx）</title><summary type="text">今天想在 silverlight 中进行一些绘制，如调用 DrawLine、DrawString 等方法，在帮助文档里找了个遍没找到，于是在网上搜索了一下，原来在 silverlight 4 中都还不支持自定义绘制图形和文本。在 codeplex 网站上有一个叫 WriteableBitmapEx 的项目，这个项目库为 WriteableBitmap 类添加了一些扩展方法，可以自由的绘制一些几何图形，但是文本还是没办法绘制。看了 silverlight 新增的功能列表里，好像加强了 WriteableBitmap 类，可以实现一些简单的绘制。</summary><published>2011-01-15T02:30:00Z</published><updated>2011-01-15T02:30:00Z</updated><author><name>匡匡</name><uri>http://www.cnblogs.com/kuku/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kuku/archive/2011/01/15/1936131.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/archive/2011/01/15/1936131.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kuku/archive/2011/01/14/1935361.html</id><title type="text">Silverlight 4 Unleashed 读书笔记：第二章</title><summary type="text">这一章主要讲的是开发工具 Visual Studio 和 Expression Blend 的安装。在这一章里还有一个小示例，示例倒没有什么难的，但是通过这个示例学到了在 Blend 中，给控件添加"效果"方法，这里把他给记录下来，以防过不了多久就给忘记了，必竟在工作中不会经常使用 Blend。打“资产”选项卡中“效果”活页：然后选中一个效果，把他拖到“对象和时间线” 面板中的控件上：如上图，把一个 BlurEffect 效果拖到了 Shadow 的控件上，这样就可以直接为控件添加效果了。</summary><published>2011-01-14T03:56:00Z</published><updated>2011-01-14T03:56:00Z</updated><author><name>匡匡</name><uri>http://www.cnblogs.com/kuku/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kuku/archive/2011/01/14/1935361.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/archive/2011/01/14/1935361.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/kuku/archive/2011/01/13/1934517.html</id><title type="text">在 Silverlight 绘制线帽（箭头）</title><summary type="text">最近要在 silverlight 的一个项目中绘制带有箭头的线条，但是在 silverlight 中竟然没有这样现成的功能。于是去网上搜索了一把，找到了两种解决方法：第一种是在 codeplex 网站上找了一个开源的项目，好像是国人所写的（代码里有中文注释）：http://arrowline.codeplex.com/使用这个库挺方便的，效果也不错。另一种是就自己实现一个用户控件，也比较简单：XAML 内容：[代码]后台代码：[代码]上面的代码中实现的效果不怎么样：但是通过再改造一下，可以达到任意想要的效果。</summary><published>2011-01-13T06:06:00Z</published><updated>2011-01-13T06:06:00Z</updated><author><name>匡匡</name><uri>http://www.cnblogs.com/kuku/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kuku/archive/2011/01/13/1934517.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kuku/archive/2011/01/13/1934517.html"/><content type="html"/></entry></feed>
