Share via


SwimlaneShape Class

Represents a swimlane shape in a diagram. Base class for swmlane shapes that you specify in DSL Definition.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("1440006c-b76a-4f82-9e4f-72159ca36851")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
Public MustInherit Class SwimlaneShape _
    Inherits NodeShape
'Usage
Dim instance As SwimlaneShape
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("1440006c-b76a-4f82-9e4f-72159ca36851")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public abstract class SwimlaneShape : NodeShape
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"1440006c-b76a-4f82-9e4f-72159ca36851")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public ref class SwimlaneShape abstract : public NodeShape
public abstract class SwimlaneShape extends NodeShape

Remarks

A swimlane shape is an area of the diagram that contains a logical grouping of shapes, such as elements or decorators. A horizontal or vertical line appears between each swimlane.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
      Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
        Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
          Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape

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

SwimlaneShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace