ShapeElement::CreateShapeFields Method ()

 

Creates a collection of shape fields for the shape type.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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;
}
}
Return to top
Show: