Updated: July 2008
Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
Assembly: PresentationCore (in PresentationCore.dll)
The class is the basic abstraction from which every FrameworkElement object derives. It also serves as the entry point for writing new controls in WPF, and in many ways can be thought of as an equivalent of a window handle (HWND) in the Win32 application model.
The object is a core WPF object, whose primary role is to provide rendering support. User interface controls, such as Button and TextBox, derive from the class, and use the defined properties for persisting their rendering data. The object provides support for the following:
Output display: Rendering the persisted, serialized drawing content of a visual.
Transformations: Performing transformations on a visual.
Clipping: Providing clipping region support for a visual.
Hit testing: Determining whether a specified coordinate (point) or geometry is contained within the bounds of a visual.
Bounding box calculations: Determining the bounding rectangle of a visual.
Architecturally, the object does not include support for other application development requirements / WPF features that are not immediately related to its rendering, such as the following:
is provided as a public abstract class from which further classes can be derived. The following illustration shows the hierarchy of the existing visual objects that are defined in the WPF architecture.
In some cases, members that are defined as protected in are exposed as more readily accessible members with similar names in the derived UIElement class.
For more information, see Windows Presentation Foundation Graphics Rendering Overview.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.