Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
Assembly: PresentationCore (in PresentationCore.dll)
Provides the base initialization for objects derived from theclass.
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Obsolete.Gets or sets the BitmapEffect value for the .
Obsolete.Gets or sets the BitmapEffectInput value for the .
Gets or sets the BitmapScalingMode for the .
Gets or sets a cached representation of the.
Gets the number of child elements for the.
Gets or sets the ClearTypeHint that determines how ClearType is rendered in the .
Gets or sets the clip region of the Geometry value.as a
Gets or sets the edge mode of the EdgeMode value.as an
Gets or sets the bitmap effect to apply to the.
Gets or sets the offset value of the visual object.
Gets or sets the opacity of the.
Gets or sets the Brush value that represents the opacity mask of the .
Gets the visual tree parent of the visual object.
Gets or sets a clipped scrollable area for the.
Gets or sets the TextHintingMode of the .
Gets or sets the TextRenderingMode of the .
Gets or sets the Transform value for the .
Gets or sets the x-coordinate (vertical) guideline collection.
Gets or sets the y-coordinate (horizontal) guideline collection.
Defines the parent-child relationship between two visuals.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns the common ancestor of two visual objects.
Returns the specified VisualCollection.in the parent
Determines whether a geometry value is within the bounds of the visual object.
Determines whether a point coordinate value is within the bounds of the visual object.
Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)
Determines whether the visual object is an ancestor of the descendant visual object.
Determines whether the visual object is a descendant of the ancestor visual object.
Called when the VisualCollection of the visual object is modified.
Called when the parent of the visual object is changed.
Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Removes the parent-child relationship between two visuals.
Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)
Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)
Returns a string that represents the current object.(Inherited from Object.)
Returns a transform that can be used to transform coordinates from theto the specified ancestor of the visual object.
Returns a transform that can be used to transform coordinates from the Visual3D ancestor of the visual object.to the specified
Returns a transform that can be used to transform coordinates from theto the specified visual object descendant.
Returns a transform that can be used to transform coordinates from theto the specified visual object.
The 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.class is the basic abstraction from which every
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, theobject 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 UIElement class.are exposed as more readily accessible members with similar names in the derived
For more information, see WPF Graphics Rendering Overview.
Ahas a limited number of levels. In previous versions of the .NET Framework, this maximum depth was 255. This limit is inadequate for some layouts that have many levels in the visual tree.
In .NET Framework 4, the maximum depth of a StackOverflowException during layout. For the default stack size, this exception is usually thrown when the tree depth is approximately 800, which corresponds to about 190 nested TreeViewItem objects.is 2047, which enables much deeper visual trees. In most applications, there is not enough stack space to traverse so many levels, and the result is a
If this exception is thrown by your application and you need to have a deeper visual tree, you can increase the application's stack size. You can increase the size of the stack by using the /STACK option at compile time or by using the EDITBIN utility. Increasing the stack size may affect your application's performance. For more information, see Stack Allocations and EDITBIN Options.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.