ShapeElement::InitializeInstanceResources Method ()
Visual Studio 2015
Initializes the resources for an instance of the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
This method is called after the style set has been initialized for the shape instance.
You can override this method to initialize other resources for the shape instance. To override the method in your custom code, you must set the Generates Double Derived property on your shape class in DSL Definition, and then click Transform All Templates in Solution Explorer.
Always call the base method.
protected override void InitializeInstanceResources() { base.InitializeInstanceResources(); SetArrowDecorator(); }
Show: