Visual Members
.NET Framework 3.0
Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
The following tables list the members exposed by the Visual type.
(see also
Protected Properties
)
Top
| 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) |
| Name | Description | |
|---|---|---|
| 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. |
| 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 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. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject) |
| ClearValue | Overloaded. Clears the local value of a property. (inherited from DependencyObject) |
| CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the property on this type. (inherited from DependencyObject) |
| Equals | Overloaded. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (inherited from DependencyObject) |
| FindCommonVisualAncestor | Finds the common ancestor of two visuals 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) |
| 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. |
| 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) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| SetValue | Overloaded. Sets the local value of a dependency property. (inherited from DependencyObject) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| TransformToAncestor | 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 | |
|---|---|---|
| AddVisualChild | Sets up the parent-child relationship between two visuals. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| GetVisualChild | Returns the specified Visual in the parent VisualCollection. |
| HitTestCore | Overloaded. Determines whether the bounds of the visual object have been hit. |
| 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. |
| RemoveVisualChild | Removes the parent-child relationship between two visuals. |
| ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (inherited from DependencyObject) |
Reference
Visual ClassSystem.Windows.Media Namespace
VisualCollection
VisualTreeHelper