Share via


ShapeDecorator Class

Class to encapsulate the way ShapeFields and child shapes are used to represent Notation Decorators when they are placed on a Shape

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Class ShapeDecorator _
    Inherits Decorator
'Usage
Dim instance As ShapeDecorator
public class ShapeDecorator : Decorator
public ref class ShapeDecorator : public Decorator
public class ShapeDecorator extends Decorator

Remarks

Inner shapes are simple ShapeFields, whereas Outer shapes require host shapes

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.Decorator
    Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecorator
      Microsoft.VisualStudio.Modeling.Diagrams.ExpandCollapseDecorator

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

ShapeDecorator Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace

ShapeField