IDiagram Methods
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
| Name | Description | |
|---|---|---|
![]() | Delete() | 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.) |
![]() | EnsureVisible(IEnumerable<IShape^>^, Boolean) | |
![]() | GetObject<T>() | Gets the model element represented by this shape. Supply the type of the result that you want.(Inherited from IShape.) |
![]() | Move(Double, Double, Double, Double) | Changes the position and size of the shape.(Inherited from IShape.) |
![]() | SelectShapes(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. |
![]() | ToIShape<T>() | Cast to a type that specifies the type of the element that the shape represents.(Inherited from IShape.) |
| Name | Description | |
|---|---|---|
![]() | GetChildShapes<T>() | Get child shapes that display the specified type of model element.(Defined by PresentationHelpers.) |
![]() | GetElement() | The model element that this shape represents.(Defined by IShapeExtensions.) |
![]() | GetSelectedShapes<T>() | Get all the selected shapes that display UML model elements of the specified type.(Defined by PresentationHelpers.) |
![]() | SelectShapes(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.) |
