This topic has not yet been rated - Rate this topic

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;
}
}
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ