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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
Public Property ManuallyRouted As Boolean
    Get
    Set
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
public bool ManuallyRouted { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"558defc3-78a4-4f2d-8662-a0b2ffe5ac29")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
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")>]
[<DomainObjectIdAttribute("558defc3-78a4-4f2d-8662-a0b2ffe5ac29")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/ManuallyRouted.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
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