Provides a WPF core-level base class for content elements. Content elements are designed for flow-style presentation, using an intuitive markup-oriented layout model and a deliberately simple object model.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
defines the following common content characteristics:
Input: All derived classes provide support for basic input capture from keyboard, mouse, drag-and-drop operations, stylus controls, and accelerators.
Focus: All derived classes are potentially focusable. (However, the default focusable state for the base class is false. For details on how to make a focusable, see Focusable.) In addition, this class contains APIs that you can use for traversing the focus across related elements.
Events: includes events that are related to input and focus; it also includes events for changes in state. In many cases, the events are routed events. In some cases, routed events have both tunneling and bubbling routing strategies, raised as separate events in response to the same state or condition. Also, defines APIs that can raise routed events and that can add or remove handlers to events.
shares many common APIs with UIElement. These common APIs do not come from a shared class inheritance. But they do share common naming, similar behavior, and similar internal implementation of APIs in each class. The similarity is because and UIElement are each classes that are an element base, although each has different intentions for its markup object model behavior.
In particular, UIElement descends from Visual, which provides the lower-level graphics support for rendering a to a rectangular region within a composited window, whereas defers rendering so that concepts more common to document scenarios, such as flow and wrapping, are more easily supported. These two related classes also implement the common interfaces IInputElement and IAnimatable.Notes to Inheritors:
The class does not yet define all aspects of a complete content element for flow-style presentation. FrameworkContentElement is an immediately derived class of . FrameworkContentElement includes a more complete set of additional members that support rendering a FrameworkContentElement within a content host and using the WPF framework-level layout system.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003