GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / AllowDelete Property
In This Topic
    AllowDelete Property (GoDocument)
    In This Topic
    Gets or sets whether the user can delete selected objects in this document.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether the user can delete selected objects in this document.")]
    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().
    See Also