CompositeShape Class
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)
Syntax
'Declaration
Public MustInherit Class CompositeShape
Inherits Control
Implements IGeometrySourceParameters, IShape
'Usage
Dim instance As CompositeShape
public abstract class CompositeShape : Control, IGeometrySourceParameters, IShape
public ref class CompositeShape abstract : public Control, IGeometrySourceParameters, IShape
public abstract class CompositeShape extends Control implements IGeometrySourceParameters, IShape
public abstract class CompositeShape extends Control implements IGeometrySourceParameters, IShape
Remarks
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.
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Microsoft.Expression.Controls.CompositeShape
Microsoft.Expression.Controls.LineArrow
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
CompositeShape Members
Microsoft.Expression.Controls Namespace