GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayer Class / AllowDelete Property
In This Topic
    AllowDelete Property (GoLayer)
    In This Topic
    Gets or sets whether the user can delete selected objects in this layer.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether the user can delete the selected objects in this layer.")]
    public bool AllowDelete {get; set;}
    Remarks
    A false value prevents the user from deleting objects in this layer 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 document disallows it, or because the view disallows it. Your code can always delete objects programmatically by calling obj.Remove().
    See Also