This topic has not yet been rated - Rate this topic

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.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual ShapeGeometry ShapeGeometry { get; }

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ