IDiagram Methods

 

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

NameDescription
System_CAPS_pubmethodDelete()

Removes the shape from the diagram. This might or might not remove from the model the element that the shape displays. For example, removing a class shape from a class diagram does not remove the UML class from the model.(Inherited from IShape.)

System_CAPS_pubmethodEnsureVisible(IEnumerable<IShape^>^, Boolean)

System_CAPS_pubmethodGetObject<T>()

Gets the model element represented by this shape. Supply the type of the result that you want.(Inherited from IShape.)

System_CAPS_pubmethodMove(Double, Double, Double, Double)

Changes the position and size of the shape.(Inherited from IShape.)

System_CAPS_pubmethodSelectShapes(IEnumerable<IShape^>^)

Sets the current selection to the given collection of shapes, and sets the Selection property. This does not activate the window that displays the diagram.

System_CAPS_pubmethodToIShape<T>()

Cast to a type that specifies the type of the element that the shape represents.(Inherited from IShape.)

NameDescription
System_CAPS_pubmethodGetChildShapes<T>()

Get child shapes that display the specified type of model element.(Defined by PresentationHelpers.)

System_CAPS_pubmethodGetElement()

The model element that this shape represents.(Defined by IShapeExtensions.)

System_CAPS_pubmethodGetSelectedShapes<T>()

Get all the selected shapes that display UML model elements of the specified type.(Defined by PresentationHelpers.)

System_CAPS_pubmethodSelectShapes(array<IShape^>^)

Select a collection of shapes on the diagram. The shapes must be selectable. The diagram's SelectedShapes property will be updated.(Defined by PresentationHelpers.)

Return to top
Show: