WPF
翻译延期
posted @
2007-07-31 10:53 stswordman 阅读(710) |
评论 (5) 编辑
XamlPad小程序
摘要: 闲着没事,仿照SDK的样子自己做了一个。 程序主要使用了System.Windows.Markup命名空间下的XamlReader类和XamlWriter,其中XamlReader可以将 Xaml代码转换为元素示例,而XamlWriter类可以将元素...
阅读全文
posted @
2007-07-09 00:03 stswordman 阅读(2808) |
评论 (8) 编辑
TextBlock VS Label
摘要: TextBlock和Label都可以显示文本,属于WPF中比较常用的控件。在最初接触WPF时,我经常为如何选择这两个控件感到困惑。随着对WPF深入学习,对这两个控件也有一些了解。今天就说一些我对TextBlock和Label的看法吧。 Label和TextBlock都是System.Windo...
阅读全文
posted @
2007-07-08 11:15 stswordman 阅读(2579) |
评论 (4) 编辑
WPF Unleashed Chapter 3:Important New Concepts in WPF ---Routed Events
摘要: Routed Event是wpf的重要组成部分,它的实现方式和Dependecny Property非常类似。Routed Event触发时会沿着视觉树和虚拟树向上或向下传递,它的存在使得WPF隐藏了视觉树这个概念...
阅读全文
posted @
2007-07-05 11:22 stswordman 阅读(1843) |
评论 (3) 编辑
WPF Unleashed Chapter 3:Important New Concepts in WPF ---Dependency Properties(Attached property)
摘要: Attached Property可以讲将属性与不相关的元素联系到一起。在WPF中,Attached property经常与布局控件一同使用,用于控制布局控件内部元素的定位。
阅读全文
posted @
2007-07-04 09:29 stswordman 阅读(1876) |
评论 (2) 编辑
Automation vs RaiseEvent
摘要: Automation和RaiseEvent都可以通过程序来触发元素的事件。
RaiseEvent可以在元素任何状态下调用相应的事件,
而Automation是依赖于元素状态的,可以用于软件的自动化测试
阅读全文
posted @
2007-07-02 17:32 stswordman 阅读(327) |
评论 (0) 编辑
WPF Unleashed 翻译
摘要: WPF Unleashed 翻译目录
阅读全文
posted @
2007-07-02 10:54 stswordman 阅读(771) |
评论 (2) 编辑
WPF Unleashed Chapter 3:Important New Concepts in WPF ---Dependency Properties
摘要: 介绍了Dependency Property的概念,作用和优点。并用代码演示了如何创建一个Denpendency Property。
Denpendency Property是WPF新引入了一种属性:它贯穿WPF的始终;提供了对样式,自动数据绑定,动画等特性的支持
阅读全文
posted @
2007-06-29 15:50 stswordman 阅读(2023) |
评论 (10) 编辑
WPF Unleashed Chapter 3:Important New Concepts in WPF ---Logical and Visual Trees 翻译
摘要: 《Windows.Presentation.Foundation.Unleashed》翻译 第三章第一部分 Logical and Visual Trees
介绍了视觉树和逻辑树
阅读全文
posted @
2007-06-21 13:55 stswordman 阅读(2209) |
评论 (2) 编辑
WPF Unleashed Chapter 2:XAML Demystified 翻译(第三部分)
摘要: 《Windows.Presentation.Foundation.Unleashed》翻译 第二章第三部分
介绍XAML在运行时如何被转载和解析,以及xaml的编译,BAML的概念等。最后介绍了XAML命名空间内的关键字
阅读全文
posted @
2007-06-21 00:16 stswordman 阅读(2302) |
评论 (7) 编辑
WPF Unleashed Chapter 2:XAML Demystified 翻译(第二部分)
摘要: 《Windows.Presentation.Foundation.Unleashed》翻译 第二章第二部分
介绍了类型转换,标记扩展,子元素的概念
阅读全文
posted @
2007-06-14 14:45 stswordman 阅读(2604) |
评论 (7) 编辑
WPF Unleashed Chapter 2:XAML Demystified 翻译(第一部分)
摘要: 《Windows.Presentation.Foundation.Unleashed 》翻译 第二章第一部分
介绍了XAML中的元素和属性,命名空间,属性元素
阅读全文
posted @
2007-06-14 14:44 stswordman 阅读(4114) |
评论 (20) 编辑
Full WPF Archive