O'Reilly logo

Microsoft® Silverlight® Edition: Programming Windows® Phone 7 by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Elements and Controls

ApplicationBar exists entirely outside of the normal Silverlight class hierarchy in a very lonely corner of Silverlight for Windows Phone. The remainder of this chapter returns to a more familiar realm of classes.

Most of the visual objects that I’ve discussed so far in this book are often referred to as elements, primarily because they derive from FrameworkElement in this class hierarchy:

Object
        DependencyObject (abstract)
               UIElement (abstract)
                       FrameworkElement (abstract)

These derivatives of FrameworkElement include TextBlock, Image, Border, MediaElement, Shape (which is the parent class to Rectangle and Ellipse), and Panel, which is the parent class to Grid, StackPanel, and Canvas.

For the remainder of this chapter I’m going ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required