ShapeElement.ShapeGeometry Property
Gets the geometry for the shape, such as Rectangle, RoundedRectangle, or Ellipse, which defines operations associated with the outline of the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
To override operations defined in the shape geometry, derive your own geometry class from one of the subclasses of ShapeGeometry. Then override this property to return an instance of your geometry class. Alternatively, override DoFoldToShape.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.