GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / Deletable Property
In This Topic
    Deletable Property
    In This Topic
    Gets or sets whether the user can delete this object.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether users can delete this object.")]
    public virtual bool Deletable {get; set;}

    Property Value

    This defaults to true. You should normally call the CanDelete method instead of getting this property.
    Remarks
    A false value prevents the user from deleting this object by the normal mechanisms (i.e., removing it from its layer). Even when this property value is true, this object might not be deletable by the user because the layer or document disallows it, or because the view disallows it. Your code can always delete objects programmatically by calling obj.Remove(). When this object is part of a group, the default edit delete behavior is to remove the object from the group.
    See Also