CompartmentShape::InitializeShapeFields Method (IList<ShapeField^>^)

 

Initializes the compartments and other fields for the compartment shape. Called once per class.

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

protected:
virtual void InitializeShapeFields(
	IList<ShapeField^>^ shapeFields
) override

Parameters

shapeFields
Type: System.Collections.Generic::IList<ShapeField^>^

The list of fields for the compartment shape.

To substitute your own shape fields, you can override this method. You must set the Generates Double Derived property of the shape class in the DSL Definition. For more information, see InitializeShapeFields

For related examples, see ImageField and TextField.

Return to top
Show: