GoDiagram Web Reference
AllowLink Property (GoDocument)

Gets or sets whether the user can link objects in this document.
Syntax
'Declaration
 
<DescriptionAttribute("Whether the user can link ports in this document.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Overridable Property AllowLink As Boolean
[DescriptionAttribute("Whether the user can link ports in this document.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public virtual bool AllowLink {get; set;}
Remarks
A false value prevents the user from linking objects in this document by the normal mechanisms. Even when this property value is true, some objects might not be linkable by the user because the ports disallow it, or because the view disallows it. Your code can always link objects programmatically by calling LinksLayers.Add(newLink), where newLink is a newly created instance of a class like GoLink or GoLabeledLink whose IGoLink.FromPort and IGoLink.ToPort properties have been set to ports in the same document.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoDocument Class
GoDocument Members
CanLinkObjects Method
AllowLink Property
AllowLink Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback