GoDiagram Win Reference
AllowDelete Property (GoDocument)

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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback