We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ShapeElement.HasOutline Property

Gets the shape and verifies whether it has an outline.

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

public virtual bool HasOutline { get; }

Property Value

Type: System.Boolean
true if the shape has an outline; otherwise, false.

By default, the return value is true.