WPF常用控件
WPF 的所有控件都是从 System.Windows.Controls.Control 类中派生出来,
其命名空间是System.Windows.Controls 。
WPF有两个类似的类继承树,一个与界面( UI )相关,如 UIElement 类;另
一个与内容( Content )相关,如 ContentElement。
ContentElement 支持文本方式,而 UIElement 则支持图形方式。
Control 类中派生出来的控件,基本上可以分为4类:
- 内容控件(ContentControls)
- 条目控件(ItemsControls)