Windows Phone(OS7.1)中常用控件继承关系
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
博客主页:http://www.cnblogs.com/chengyujia/
欢迎转载,但请保留作者和本文链接,谢谢!
欢迎在下面的评论区与我交流。