Partager via


LinkShape.ManuallyRouted Property

True if the user has made a manual change to the routing of this link shape. False if the user has used the Reroute command, or has left the automatic routing unchanged.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")> _
Public Property ManuallyRouted As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")]
public bool ManuallyRouted { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainObjectIdAttribute(L"558defc3-78a4-4f2d-8662-a0b2ffe5ac29")]
public:
property bool ManuallyRouted {
    bool get ();
    void set (bool value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")>]
member ManuallyRouted : bool with get, set
function get ManuallyRouted () : boolean 
function set ManuallyRouted (value : boolean)

Property Value

Type: System.Boolean

Remarks

If the user changes only the anchor points where the link touches a shape, this property remains False.

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

CanManuallyRoute