Export (0) Print
Expand All
Expand Minimize

ShapeElement.CreateShapeFields Method

Creates a collection of shape fields for the shape type.

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

protected List<ShapeField> CreateShapeFields()

Return Value

Type: System.Collections.Generic.List<ShapeField>
A collection of shape fields for the shape type.

This method calls InitializeShapeFields() after instantiating an empty shape field collection.

public override global::System.Collections.Generic.IList<DslDiagrams::ShapeField> ShapeFields
{
get
{
if (shapeFields == null)
{
shapeFields = CreateShapeFields();
}
return shapeFields;
}
}

Community Additions

ADD
Show:
© 2014 Microsoft