GoDiagram Web Reference
AllowInsert Property (GoDocument)

Gets or sets whether the user can insert objects in this document.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("Whether the user can insert objects into this document.")>
<CategoryAttribute("Behavior")>
Public Overridable Property AllowInsert As Boolean
[DefaultValueAttribute()]
[DescriptionAttribute("Whether the user can insert objects into this document.")]
[CategoryAttribute("Behavior")]
public virtual bool AllowInsert {get; set;}
Remarks
A false value prevents the user from inserting objects in this document by the normal mechanisms. Even when this property value is true, some objects might not be insertable by the user because the layer or view disallows it. Your code can always insert objects programmatically by calling Add(obj).
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
CanInsertObjects Method
AllowInsert Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback