Represents a collection of drawings that can be operated upon as a single drawing.
Assembly: PresentationCore (in PresentationCore.dll)
Gets or sets the BitmapEffect to apply to this .
Gets the axis-aligned bounds of the drawing's contents. (Inherited from Drawing.)
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets or sets the Drawing objects that are contained in this .
Gets or sets the clip region of this.
Gets or sets the GuidelineSet to apply to this .
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the opacity of this.
Gets or sets the brush used to alter the opacity of select regions of this.
Gets or sets the Transform that is applied to this .
Use a Drawing objects, you can apply a Transform, BitmapEffect, Opacity setting, OpacityMask, ClipGeometry, or a GuidelineSet to a . The flexibility of this class enables you to create complex scenes.to combine multiple drawings into a single, composite drawing. Unlike other
Because Drawing, it can contain other objects.is also a
Freezable Features: Because it inherits from the Freezable class, the class provides several special features: objects can be declared as , shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. For more information about the different features provided by Freezable objects, see Freezable Objects Overview.
Legacy Code Example
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.