DrawingVisual Methods

The DrawingVisual type exposes the following members.

  NameDescription
Protected method AddVisualChild Defines the parent-child relationship between two visuals. (Inherited from Visual.)
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method ClearValue Overloaded. Clears the local value of a property.
Public method 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.)
Public method Equals Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindCommonVisualAncestor Returns the common ancestor of two visual objects. (Inherited from Visual.)
Public method GetHashCode Gets a hash code for this DependencyObject. (Inherited from DependencyObject.)
Public method GetLocalValueEnumerator Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetValue Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)
Protected method GetVisualChild Returns a specified child Visual for the parent ContainerVisual. (Inherited from ContainerVisual.)
Public method HitTest Overloaded. Return top-most visual object of a hit test.
Protected method HitTestCore Overloaded. HitTestCore determines whether the bounds of the visual object has been hit.
Public method InvalidateProperty Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.)
Public method IsAncestorOf Determines whether the visual object is an ancestor of the descendant visual object. (Inherited from Visual.)
Public method IsDescendantOf Determines whether the visual object is a descendant of the ancestor visual object. (Inherited from Visual.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method 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.)
Protected method OnVisualChildrenChanged Called when the VisualCollection of the visual object is modified. (Inherited from Visual.)
Protected method OnVisualParentChanged Called when the parent of the visual object is changed. (Inherited from Visual.)
Public method PointFromScreen Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. (Inherited from Visual.)
Public method PointToScreen Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. (Inherited from Visual.)
Public method ReadLocalValue Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Protected method RemoveVisualChild Removes the parent-child relationship between two visuals. (Inherited from Visual.)
Public method RenderOpen Opens the DrawingVisual object for rendering. The returned DrawingContext value can be used to render into the DrawingVisual.
Public method SetValue Overloaded. Sets the local value of a dependency property.
Protected method ShouldSerializeProperty Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformToAncestor Overloaded. Returns a transform that can be used to transform coordinates from the Visual to the specified ancestor of the visual object.
Public method TransformToDescendant Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. (Inherited from Visual.)
Public method TransformToVisual Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. (Inherited from Visual.)
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft