Condividi tramite


ShapeElement.ShapeFields Property

Parts of a shape such as text rows and decorators.

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

Syntax

'Dichiarazione
Public MustOverride ReadOnly Property ShapeFields As IList(Of ShapeField)
    Get
public abstract IList<ShapeField> ShapeFields { get; }
public:
virtual property IList<ShapeField^>^ ShapeFields {
    IList<ShapeField^>^ get () abstract;
}
abstract ShapeFields : IList<ShapeField>
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace