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 

posted @ 2011-12-15 11:02  成宇佳  阅读(326)  评论(0编辑  收藏  举报