摘要: 没什么好说的,还是copycat不过,有一点,当给attachproperty时候,可以用setproperty. 阅读全文
posted @ 2009-12-13 11:19 Pang pang Xiong 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 在学习http://msdn.microsoft.com/en-us/library/ms771766.aspx这个例子的时候,遇到了这样的问题。想通了以后就很简单,但是还是让我抓耳挠腮了很久时间。呵呵。问题是这样的,我想用DependencyPropety来描绘这个控件,如果这个Property变化的话,就重新UpateLayout. 实现非常简单:注册DependecnyProperty代码如... 阅读全文
posted @ 2009-12-08 16:21 Pang pang Xiong 阅读(235) 评论(0) 推荐(0) 编辑
摘要: [代码]但是没有死循环的退出判断 阅读全文
posted @ 2009-12-01 23:53 Pang pang Xiong 阅读(120) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/magazine/dd188700.aspxI am learning this article. What I am thinking is to write something similar to Magnify in this sample.For example, if user want to add a magnify ... 阅读全文
posted @ 2009-11-23 20:15 Pang pang Xiong 阅读(433) 评论(0) 推荐(0) 编辑
摘要: Efficient way to use Data Templates: http://msdn.microsoft.com/en-us/magazine/dd483292.aspx Background introduction:Let’s have a look at what WPF have done in and after this sample code: <con... 阅读全文
posted @ 2009-11-15 15:30 Pang pang Xiong 阅读(262) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/magazine/cc794276.aspx 阅读全文
posted @ 2009-11-15 10:17 Pang pang Xiong 阅读(527) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/magazine/dd483293.aspxOn-Demand Assembly LoadingInsights: Rendering and the UI ThreadAvoiding Regional Dependencies 阅读全文
posted @ 2009-11-12 11:12 Pang pang Xiong 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Original Articles comes from http://msdn.microsoft.com/en-us/magazine/dd569760.aspxHowever, I met problems. threads in parallelenters intodead lock. My implement is a littile different with this artic... 阅读全文
posted @ 2009-11-10 00:40 Pang pang Xiong 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Proxy to Enable Cross Domain Requests When Using Silverlight 2 and Data ServicesPublished 07 May 09 09:23 AM | dpblogs Tom Laird-McConnell has created a nice post showing how to mid-tier proxy to enab... 阅读全文
posted @ 2009-10-22 16:26 Pang pang Xiong 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1, File System Watch:http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(VS.85).aspx2. Other API, ReadDirectoryChangesW 阅读全文
posted @ 2009-09-08 16:27 Pang pang Xiong 阅读(122) 评论(0) 推荐(0) 编辑