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

'宣言
Public Overridable ReadOnly Property Alignment As SwimlaneAlignment
'使用
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.

Permissions

See Also

Reference

SwimlaneShape Class

SwimlaneShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace