Properties of Swimlanes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Properties of Swimlanes.

You can add swimlanes to a diagram. Swimlanes divide a diagram into vertical or horizontal areas. You can define other shapes to be displayed inside swimlanes. For more information, see How to Define a Domain-Specific Language. For more information about how to use these properties, see Customizing and Extending a Domain-Specific Language.

Swimlanes have the properties that are listed in the following table.

PropertyDescriptionDefault
Body Fill ColorThe fill color for the body of the swimlane.White
Header Fill ColorThe fill color for the header of the swimlane.DarkGray
Separator ColorThe color of the separator line.LightGray
Separator Line StyleThe style of the separator line (Solid, Dash, Dot, DashDot, DashDotDot, or Custom).Dash
Separator ThicknessThe thickness of the separator line in inches.0.03125
Text ColorThe color that is used for text decorators that are associated with this swimlane.Black
Access ModifierThe level of access of the class (public or internal).Public
Custom AttributesUsed to add attributes to the code class that is generated from this swimlane.<none>
Generates Double DerivedIf True, both a base class and a partial class (to support customization through overrides) will be generated. For more information, see Overriding and Extending the Generated Classes.False
Has Custom ConstructorIf True, a custom constructor will be provided in the source code. For more information, see Overriding and Extending the Generated Classes.False
Inheritance ModifierDescribes the kind of inheritance of the source code class that is generated from the swimlane (none, abstract or sealed).none
Base SwimlaneThe base class of this swimlane.(none)
NameThe name of this swimlane.Current name
NamespaceThe namespace that is affiliated with this swimlane.Current namespace
Tooltip TypeHow the tooltip is defined (fixed, variable, or none). If fixed, then the value of the Fixed Tooltip Text property is used; if variable, then the tooltip is defined in custom code.<none>
NotesInformal notes that are associated with this swimlane.<none>
AlignmentHorizontal or vertical alignment.Vertical
Initial HeightThe initial height of this swimlane, in inches. Applicable only to horizontal swimlanes.0
Initial WidthThe initial width of this swimlane, in inches. Applicable only to vertical swimlanes.0
Exposes Text ColorIf True, the user can set the color of a swimlane in the generated designer. To set this, right-click the swimlane shape and click Add Exposed.False
DescriptionUsed to document the generated designer.<none>
Display NameThe name that will be displayed in the generated designer to refer to this swimlane class.<none>
Fixed Tooltip TextThe text that is used for a fixed tooltip.<none>
Help KeywordThe keyword that is used to index F1 help for this swimlane.<none>

Domain-Specific Language Tools Glossary

Show: