Share via


SwimlaneShape.Alignment Property

Gets or sets the horizontal or vertical alignment of the swimlane shape in the diagram.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Alignment As SwimlaneAlignment
'Usage
Dim instance As SwimlaneShape 
Dim value As SwimlaneAlignment 

value = instance.Alignment
public virtual SwimlaneAlignment Alignment { get; }
public:
virtual property SwimlaneAlignment Alignment {
    SwimlaneAlignment get ();
}
public function get Alignment () : SwimlaneAlignment

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneAlignment
The horizontal or vertical alignment of the swimlane shape in the diagram.

Remarks

By default, vertical alignment is used.

.NET Framework Security

See Also

Reference

SwimlaneShape Class

SwimlaneShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace