Share via


ShapeElement.OnInitialize Method

Called to initialize the shape. Override this to attach event handlers and rules to this object.

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

Syntax

'Declaration
Public Overridable Sub OnInitialize
'Usage
Dim instance As ShapeElement

instance.OnInitialize()
public virtual void OnInitialize()
public:
virtual void OnInitialize()
public function OnInitialize()

Remarks

This method is called in a transaction.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace