ShapeElement.ShapeFields Property
Parts of a shape such as text rows and decorators.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Shape fields are used to represent diagram items that are not full shapes. For example, the rows in a compartment shape are shape fields.
To customize shape fields, write a class derived from one of the concrete subclasses of ShapeField and override InitializeShapeFields(IList<ShapeField>). For an example, see ImageField.
- 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.