Share via


DesignSurfaceElementOperations.AddElementGroupFormat Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Protected method

AddElementGroupFormat(IDataObject, ICollection<ModelElement>, ClosureType)

Adds the ElementGroupPrototype format to the specified IDataObject using the specified collection of ModelElements. This method calls the following 3 overridable methods(in order) a. CreateElementGroup b. MarkRootElements c. CreateElementGroupPrototype It then stashes the created ElementGroupPrototype in the data parameter. (Inherited from ElementOperations.)

Protected method

AddElementGroupFormat(IDataObject, ICollection<ModelElement>, ClosureType, Boolean)

Adds the ElementGroupPrototype format to the specified IDataObject using the specified collection of ModelElements. Can be called from derived classes to force demand load of element links in order to create the collection of model elements. (Inherited from ElementOperations.)

Top

See Also

Reference

DesignSurfaceElementOperations Class

DesignSurfaceElementOperations Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace