共用方式為


ShapeElement.ShapeFields Property

Parts of a shape such as text rows and decorators.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ShapeFields As IList(Of ShapeField)
public abstract IList<ShapeField> ShapeFields { get; }
public:
virtual property IList<ShapeField^>^ ShapeFields {
    IList<ShapeField^>^ get () abstract;
}
abstract ShapeFields : IList<ShapeField> with get
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. For an example, see ImageField.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace