Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CompositeShape Class

Expression Studio 4.0
Provides a base class of a composite shape that derives from Control and implements IShape.

Namespace: Microsoft.Expression.Controls
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)

public abstract class CompositeShape : Control, IGeometrySourceParameters, IShape

CompositeShape implements IShape interface, and supports rendering a geometry similar to Shape, but the geometry can be rendered outside the layout boundary. A typical implementation has a customized default template in generic.xaml which template-binds most shape properties to a Path. It should also extend the GeometrySource property to customize the appearance of the Path.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

© 2015 Microsoft