Class ClipboardNodeCollection
Collection of nodes that can be transferred to and from the clipboard.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class ClipboardNodeCollection : NodeCollection, IList, ICollection, IEnumerable, ICloneable, ISerializable, IServiceReferenceHolder, IServiceReferenceProvider
Remarks
This is a specialized NodeCollection class that is used for storing nodes on the clipboard. It maintains a GUID (Globally Unique IDentifier) that identifies the object that placed the collection of nodes on the clipboard.
Constructors
ClipboardNodeCollection(Guid)
Initializes a new instance of the ClipboardNodeCollection class. Constructs a ClipboardNodeCollection given a GUID.
Declaration
public ClipboardNodeCollection(Guid srcGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | srcGuid | GUID that identifies the source of the nodes. |
ClipboardNodeCollection(SerializationInfo, StreamingContext)
Initializes a new instance of the ClipboardNodeCollection class. Serialization constructor for a ClipboardNodeCollection.
Declaration
protected ClipboardNodeCollection(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Serialization state information. |
System.Runtime.Serialization.StreamingContext | context | Streaming context information. |
Methods
CompareSourceGuid(Guid)
Compares the given GUID to the source GUID of the collection.
Declaration
public bool CompareSourceGuid(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | GUID to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if the GUIDs match; otherwise False. |
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data needed to serialize the target object.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | SerializationInfo object to populate. |
System.Runtime.Serialization.StreamingContext | context | Destination streaming context. |