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

    Property Value

    This defaults to true. You should normally call the CanCopy method instead of getting this property.
    Remarks
    A false value prevents the user from copying this object by the normal mechanisms. Even when this property value is true, this object might not be copyable by the user because the layer or document disallows it, or because the view disallows it. Your code can always copy objects programmatically by calling GoDocument.CopyFromCollection(IGoCollection). When this object is part of a group, the default drag behavior is to copy just the object. However, the DraggingObject really determines what is actually copied.
    See Also