共用方式為


ShapeElement.ShapeFields 屬性

例如,文字的資料列和裝飾圖形部份。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public MustOverride ReadOnly Property ShapeFields As IList(Of ShapeField)
public abstract IList<ShapeField> ShapeFields { get; }

屬性值

型別:System.Collections.Generic.IList<ShapeField>

備註

圖形欄位用來代表不是完整的圖形的圖表項目。 比方說,區間圖案中的資料列都是圖形的欄位。

若要自訂圖形的欄位,撰寫類別衍生自具象的子類別的其中一項ShapeField而覆寫InitializeShapeFields。 如需範例,請參閱 ImageField

.NET Framework 安全性

請參閱

參考

ShapeElement 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間