ShapeElement.CreateDecorators Method

Definition

Instantiates the collection of decorators for this type of shape.

C++
protected:
 System::Collections::Generic::List<Microsoft::VisualStudio::Modeling::Diagrams::Decorator ^> ^ CreateDecorators();

Returns

Remarks

This method calls InitializeDecorators() after instantiating an empty decorator collection.

Like shape fields, decorators are instantiated per-type, not per-instance.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022