This documentation is archived and is not being maintained.

DrawingVisual Members

DrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system.

The DrawingVisual type exposes the following members.

  NameDescription
Public method DrawingVisual Initializes a new instance of the DrawingVisual class.
Top

  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

  NameDescription
Public property BitmapEffect Gets or sets a BitmapEffect value for the ContainerVisual. (Inherited from ContainerVisual.)
Public property BitmapEffectInput Gets or sets a BitmapEffectInput value for the ContainerVisual. (Inherited from ContainerVisual.)
Public property Children Gets the child collection of the ContainerVisual. (Inherited from ContainerVisual.)
Public property Clip Gets or sets the clipping region of the ContainerVisual. (Inherited from ContainerVisual.)
Public property ContentBounds Gets the bounding box for the contents of the ContainerVisual. (Inherited from ContainerVisual.)
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.)
Public property DescendantBounds Gets the union of all the content bounding boxes for all of the descendants of the ContainerVisual, but not including the contents of the ContainerVisual. (Inherited from ContainerVisual.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property Drawing Gets the drawing content of the DrawingVisual object.
Public property IsSealed Gets a value that declares whether this instance is currently read-only. (Inherited from DependencyObject.)
Public property Offset Gets or sets the offset value of the ContainerVisual from its reference point. (Inherited from ContainerVisual.)
Public property Opacity Gets or sets the opacity of the ContainerVisual, based on 0=transparent, 1=opaque. (Inherited from ContainerVisual.)
Public property OpacityMask Gets or sets a brush that specifies a possible opacity mask for the ContainerVisual. (Inherited from ContainerVisual.)
Public property Parent Gets the parent Visual for the ContainerVisual. (Inherited from ContainerVisual.)
Public property Transform Gets or sets the transform that is applied to the ContainerVisual. (Inherited from ContainerVisual.)
Protected property VisualBitmapEffect Gets or sets the BitmapEffect value for the Visual. (Inherited from Visual.)
Protected property VisualBitmapEffectInput Gets or sets the BitmapEffectInput value for the Visual. (Inherited from Visual.)
Protected property VisualBitmapScalingMode Gets or sets the BitmapScalingMode for the Visual. (Inherited from Visual.)
Protected property VisualChildrenCount Gets the number of children for the ContainerVisual. (Inherited from ContainerVisual.)
Protected property VisualClip Gets or sets the clip region of the Visual as a Geometry value. (Inherited from Visual.)
Protected property VisualEdgeMode Gets or sets the edge mode of the Visual as an EdgeMode value. (Inherited from Visual.)
Protected property VisualEffect Gets or sets the bitmap effect to apply to the Visual. (Inherited from Visual.)
Protected property VisualOffset Gets or sets the offset value of the visual object. (Inherited from Visual.)
Protected property VisualOpacity Gets or sets the opacity of the Visual. (Inherited from Visual.)
Protected property VisualOpacityMask Gets or sets the Brush value that represents the opacity mask of the Visual. (Inherited from Visual.)
Protected property VisualParent Gets the visual tree parent of the visual object. (Inherited from Visual.)
Protected property VisualTransform Gets or sets the Transform value for the Visual. (Inherited from Visual.)
Protected property VisualXSnappingGuidelines Gets or sets the x-coordinate (vertical) guideline collection. (Inherited from Visual.)
Protected property VisualYSnappingGuidelines Gets or sets the y-coordinate (horizontal) guideline collection. (Inherited from Visual.)
Public property XSnappingGuidelines Gets or sets the X (horizontal) guideline for the ContainerVisual. (Inherited from ContainerVisual.)
Public property YSnappingGuidelines Gets or sets the Y (vertical) guideline for the ContainerVisual. (Inherited from ContainerVisual.)
Top
Show: