CompartmentShape::InitializeShapeFields Method (IList<ShapeField^>^)
Visual Studio 2015
Initializes the compartments and other fields for the compartment shape. Called once per class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
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.
Show: