Share via


ShapeElement.ShapeFields Property

Parts of a shape such as text rows and decorators.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ShapeFields As IList(Of ShapeField)
'Usage
Dim instance As ShapeElement 
Dim value As IList(Of ShapeField)

value = instance.ShapeFields
public abstract IList<ShapeField> ShapeFields { get; }
public:
virtual property IList<ShapeField^>^ ShapeFields {
    IList<ShapeField^>^ get () abstract;
}
public abstract function get ShapeFields () : IList<ShapeField>

Property Value

Type: System.Collections.Generic.IList<ShapeField>

Remarks

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.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace