FindShape Method
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Diagram.FindShape Method

Finds the shape for the specified element on the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

public ShapeElement FindShape(
	ModelElement element
)

Parameters

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

The element.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape for the specified element.

Show:
© 2016 Microsoft