Export (0) Print
Expand All

ElementOperations Members

Provides common operations that act upon a collection of model elements.

The ElementOperations type exposes the following members.

  NameDescription
Public method ElementOperations Overloaded.
Top

  NameDescription
Protected method AddCustomFormat Adds one or more custom data formats to the specified IDataObject using the specified collection of ModelElements.
Protected method AddElementGroupFormat Overloaded.
Protected method CanAddCustomFormat Returns a value indicating whether the ModelElement collection can be used to create a custom format.
Protected method CanAddElementGroupFormat Returns a value indicating whether the ModelElement collection can be used to create an ElementGroupPrototype format.
Public method CanCopy Overloaded.
Protected method CanCopyCore Gets a value indicating whether the collection of ModelElements can be copied to an IDataObject.
Public method CanMerge Returns a value indicating whether the ElementGroupPrototype from the IDataObject can be merged (i.e., pasted or dropped) into the target ModelElement.
Public method CanMergeElementGroupPrototype Overloaded.
Public method CanMove Gets a value indicating whether the collection of ModelElements can be moved.
Public method ChooseMergeTarget Overloaded.
Public method Copy Overloaded.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetClipboardDataObject Returns an IDataObject from the Clipboard if it contains our ElementGroupPrototype format, otherwise null.
Public method Static member GetElementGroupPrototype Gets the ElementGroupPrototype from the DataObject if it exists.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method Static member GetModelingToolboxItemDisplayName If the IDataObject contains a ModelingToolboxItem, this returns its DisplayName, otherwise null.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member IsElementGroupPrototypeFormatAvailable Returns true if the ElementGroupPrototype clipboard format is available on the clipboard, otherwise false.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Merge Merges (i.e., pastes or drops) the ElementGroupPrototype from the IDataObject to the target ModelElement.
Public method MergeElementGroup Merges the source ElementGroup with the specified target ModelElement.
Public method MergeElementGroupPrototype Merges the source ElementGroupPrototype with the specified target ModelElement.
Protected method OnElementsReconstituted Called by MergeElementGroupPrototype immediately after the elements from the ElementGroupPrototype have been reconstituted, but before they are connected to the rest of the model.
Protected method OnMerged Called by MergeElementGroupPrototype immediately before the local transaction is committed. The rules are queued during the local transaction and fired when the transaction commits. The local transaction wraps reconstituting and connecting elements.
Protected method OnMerging Called by MergeElementGroupPrototype immediately after the target element has been chosen, but before the elements from the ElementGroupPrototype have been reconstituted.
Protected method PropagateElementGroupContextToTransaction Propagates the context present in the element group to the currently active top-level transaction.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public event ElementsReconstituted Called by MergeElementGroupPrototype immediately after the elements from the ElementGroupPrototype have been reconstituted, but before they are connected to the rest of the model.
Public event Merged Called by MergeElementGroupPrototype immediately before the local transaction is committed. The rules are queued during the local transaction and fired when the transaction commits. The local transaction wraps reconstituting and connecting elements.
Public event Merging Called by MergeElementGroupPrototype immediately after the target element has been chosen, but before the elements from the ElementGroupPrototype have been reconstituted.
Top

Community Additions

ADD
Show:
© 2015 Microsoft