Share via


IShape Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A shape on a UML diagram, such as a node, connector, port, and so forth.

The IShape type exposes the following members.

Methods

  Name Description
Public method Delete
Public method GetObject<T>
Public method Move Move shape to (x, y) position relative to its parent IShape. Change the size of the shape, unless width or height are -1.0f. Move will not be performed on connectors.
Public method ToIShape<T>

Top

Extension Methods

  Name Description
Public Extension Method GetChildShapes<T> Get child shapes that display UML model elements of the given type. Empty enumeration if none found. (Defined by PresentationHelpers.)

Top

Properties

  Name Description
Public property ChildShapes The collection of shapes owned by this shape, for example ports on a component or operations in a class.
Public property Color The color of the shape.
Public property Diagram The diagram that owns this shape.
Public property Element The UML model element that this shape represents.
Public property Height The shape's height in inches.
Public property ParentShape The focusable shape or diagram that owns this.
Public property Width The shape's width in inches.
Public property XPosition The shape's x-axis position (inches)
Public property YPosition The shape's y-axis position (inches)

Top

See Also

Reference

IShape Interface

Microsoft.VisualStudio.Uml.Presentation Namespace