Share via


LinkShape.RoutingStyle Property

Straight (from point to point) or rectilinear (made up of a series of horizontal and vertical segments).

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Property RoutingStyle As VGRoutingStyle
[CLSCompliantAttribute(false)]
public VGRoutingStyle RoutingStyle { get; set; }
[CLSCompliantAttribute(false)]
public:
property VGRoutingStyle RoutingStyle {
    VGRoutingStyle get ();
    void set (VGRoutingStyle value);
}
[<CLSCompliantAttribute(false)>]
member RoutingStyle : VGRoutingStyle with get, set
function get RoutingStyle () : VGRoutingStyle 
function set RoutingStyle (value : VGRoutingStyle)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.GraphObject.VGRoutingStyle

Remarks

You can set this property or override it. The default implementation initializes the style from DefaultRoutingStyle, which you can set in the DSL Definition.

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace