代码改变世界

Silverlight杂记-控件相关

2010-12-21 01:21  撞破南墙  阅读(426)  评论(0编辑  收藏  举报

 

 

Button控件

1用于可视的表现的属性 image

2索引和状态

image

 

3模板

image

4button的内容之所以可以放任意的控件是因为调用使用一个 ContentPresenter  控件来呈现。

 

5button控件的 状态

与用户相关的1个事件Click和2个属性IsPressed and  ClickMode

以下是ClickMode 枚举的三个值image

 

6The HyperlinkButton

image 

 

 

7The RadioButton中 image

8分组

image

9CheckBox 的三态image

ItemsControl

系列的控件有

the ListBox, the ComboBox, and the TabControl.

image