GoDiagram Web Reference
AllowInsert Property (GoView)

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

GoView Class
GoView Members
CanInsertObjects Method
AllowInsert Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback