O'Reilly logo

Embedded Programming with the Microsoft® .NET Micro Framework by Rob Miles, Donald Thompson

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

The Display Element Hierarchy

We can now create windows and place elements in them. We have noticed that some elements, for example, StackPanel and Canvas, can act as containers for other elements. At this point, we need to consider how the element classes relate to each other. They are structured in the form of a class hierarchy. A child class can extend a parent class, using the abilities and properties of the parent while adding and overriding behavior, as it requires.

Figure 7-16 shows the hierarchy of some of the elements in the Windows Presentation Foundation implementation on the .NET Micro Framework. All display items descend from the class UIElement. This class provides a set of core behaviors and properties common to all display elements. ...

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