Share via


DesignSurfaceElementOperations Members

Include Protected Members
Include Inherited Members

The DesignSurfaceElementOperations type exposes the following members.

Constructors

 

Name

Description

Public method

DesignSurfaceElementOperations

Overloaded.

Top

Methods

 

Name

Description

Protected method

AddCustomFormat

Adds one or more custom data formats to the specified IDataObject using the specified collection of ModelElements. (Inherited from ElementOperations.)

Protected method

AddElementGroupFormat

Overloaded.

Public methodStatic member

AddGhostShapesContext

Protected method

CanAddCustomFormat

Returns a value indicating whether the ModelElement collection can be used to create a custom format. (Inherited from ElementOperations.)

Protected method

CanAddElementGroupFormat

Returns a value indicating whether the ModelElement collection can be used to create an ElementGroupPrototype format. (Inherited from ElementOperations.)

Public method

CanCopy

Overloaded.

Protected method

CanCopyCore

Gets a value indicating whether the collection of ModelElements can be copied to an IDataObject. (Inherited from ElementOperations.)

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. (Inherited from ElementOperations.)

Public method

CanMergeElementGroupPrototype

Overloaded.

Public method

CanMove

Gets a value indicating whether the collection of ModelElements can be moved. (Inherited from ElementOperations.)

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 methodStatic member

GetAssociatedModelElement

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

Merge

Overloaded.

Public method

MergeElementGroup

Merges the source ElementGroup with the specified target ModelElement. (Inherited from ElementOperations.)

Public method

MergeElementGroupPrototype

Overloaded.

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. (Inherited from ElementOperations.)

Protected method

OnMerged

(Overrides ElementOperations.OnMerged(MergeElementGroupEventArgs).)

Protected method

OnMerging

Called by MergeElementGroupPrototype immediately after the target element has been chosen, but before the elements from the ElementGroupPrototype have been reconstituted. (Inherited from ElementOperations.)

Protected method

PropagateElementGroupContextToTransaction

(Overrides ElementOperations.PropagateElementGroupContextToTransaction(ModelElement, ElementGroup, Transaction).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Partition

(Inherited from ElementOperations.)

Protected property

ServiceProvider

(Inherited from ElementOperations.)

Protected property

Store

(Inherited from ElementOperations.)

Top

Events

 

Name

Description

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. (Inherited from ElementOperations.)

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. (Inherited from ElementOperations.)

Public event

Merging

Called by MergeElementGroupPrototype immediately after the target element has been chosen, but before the elements from the ElementGroupPrototype have been reconstituted. (Inherited from ElementOperations.)

Top

See Also

Reference

DesignSurfaceElementOperations Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace