Visual Members
.NET Framework 3.5
Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
The Visual type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddVisualChild | Defines the parent-child relationship between two visuals. |
|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
|
ClearValue | Overloaded. Clears the local value of a property. |
|
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) |
|
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FindCommonVisualAncestor | Returns the common ancestor of two visual objects. |
|
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) |
|
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) |
|
GetVisualChild | Returns the specified Visual in the parent VisualCollection. |
|
HitTestCore | Overloaded. Determines whether a point or geometry value is within the bounds of the visual object. |
|
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) |
|
IsAncestorOf | Determines whether the visual object is an ancestor of the descendant visual object. |
|
IsDescendantOf | Determines whether the visual object is a descendant of the ancestor visual object. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnPropertyChanged | Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from DependencyObject.) |
|
OnVisualChildrenChanged | Called when the VisualCollection of the visual object is modified. |
|
OnVisualParentChanged | Called when the parent of the visual object is changed. |
|
PointFromScreen | Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. |
|
PointToScreen | Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. |
|
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) |
|
RemoveVisualChild | Removes the parent-child relationship between two visuals. |
|
SetValue | Overloaded. Sets the local value of a dependency property. |
|
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TransformToAncestor | Overloaded. Returns a transform that can be used to transform coordinates from the Visual to the specified ancestor of the visual object. |
|
TransformToDescendant | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. |
|
TransformToVisual | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. |
|
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
|
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) |
|
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
|
IsSealed | Gets a value that declares whether this instance is currently read-only. (Inherited from DependencyObject.) |
|
VisualBitmapEffect | Gets or sets the BitmapEffect value for the Visual. |
|
VisualBitmapEffectInput | Gets or sets the BitmapEffectInput value for the Visual. |
|
VisualBitmapScalingMode | Gets or sets the BitmapScalingMode for the Visual. |
|
VisualChildrenCount | Gets the number of child elements for the Visual. |
|
VisualClip | Gets or sets the clip region of the Visual as a Geometry value. |
|
VisualEdgeMode | Gets or sets the edge mode of the Visual as an EdgeMode value. |
|
VisualEffect | Gets or sets the bitmap effect to apply to the Visual. |
|
VisualOffset | Gets or sets the offset value of the visual object. |
|
VisualOpacity | Gets or sets the opacity of the Visual. |
|
VisualOpacityMask | Gets or sets the Brush value that represents the opacity mask of the Visual. |
|
VisualParent | Gets the visual tree parent of the visual object. |
|
VisualTransform | Gets or sets the Transform value for the Visual. |
|
VisualXSnappingGuidelines | Gets or sets the x-coordinate (vertical) guideline collection. |
|
VisualYSnappingGuidelines | Gets or sets the y-coordinate (horizontal) guideline collection. |