您的位置:首页 > 其它

Windows Phone(OS7.1)中常用控件继承关系

2011-12-15 11:02 369 查看
Silverlight中所有的控件类都是FrameworkElement的子类
Windows Phone(OS7.1)中常用控件的继承关系如下:

Object → DependencyObject → UIElement → FrameworkElement

FrameworkElement → Border
FrameworkElement → Image
FrameworkElement → MediaElement
FrameworkElement → TextBlock

FrameworkElement → Panel

Panel → Canvas
Panel → Grid
Panel → StackPanel

FrameworkElement → Shape

Shape → Ellipse
Shape → Rectangle

FrameworkElement → Control

Control → AdControl(using Microsoft.Advertising.Mobile.UI;)
Control → PasswordBox
Control → TextBox
Control → WebBrowser
Control → RangeBase → Slider

Control → ItemsControl → Selector → ListBox

Control → ContentControl

ContentControl → ScrollViewer
ContentControl → MapBase → MapCore → Map(using Microsoft.Phone.Controls.Maps;)

ContentControl → ButtonBase

ButtonBase → Button
ButtonBase → HyperlinkButton
ButtonBase → ToggleButton → CheckBox
ButtonBase → ToggleButton → RadioButton
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: