CompositeContentShape Class
Provides a base class of a composite shape that derives from ContentControl and implements IShape.
Namespace: Microsoft.Expression.Controls
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)
Syntax
'Declaration
Public MustInherit Class CompositeContentShape
Inherits ContentControl
Implements IGeometrySourceParameters, IShape
'Usage
Dim instance As CompositeContentShape
public abstract class CompositeContentShape : ContentControl, IGeometrySourceParameters, IShape
public ref class CompositeContentShape abstract : public ContentControl, IGeometrySourceParameters, IShape
public abstract class CompositeContentShape extends ContentControl implements IGeometrySourceParameters, IShape
public abstract class CompositeContentShape extends ContentControl implements IGeometrySourceParameters, IShape
Remarks
CompositeContentShape 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. This class also supports showing content together with the shape.
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
System.Windows.Controls.ContentControl
Microsoft.Expression.Controls.CompositeContentShape
Microsoft.Expression.Controls.Callout
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
CompositeContentShape Members
Microsoft.Expression.Controls Namespace