GoDiagram Win Reference
Copyable Property

Gets or sets whether the user can copy this object.
Syntax
'Declaration
 
<DescriptionAttribute("Whether users can copy this object.")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Overridable Property Copyable As Boolean
[DescriptionAttribute("Whether users can copy this object.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
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.
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

GoObject Class
GoObject Members
CanCopy Method
CanCopyObjects Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback