Delen 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Alignment As SwimlaneAlignment
public virtual SwimlaneAlignment Alignment { get; }
public:
virtual property SwimlaneAlignment Alignment {
    SwimlaneAlignment get ();
}
abstract Alignment : SwimlaneAlignment with get 
override Alignment : SwimlaneAlignment with get
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace