ShapeElement.OnPaintShape Method

Called to paint the basic parts of the shape.

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

Syntax

'Declaration
Public Overridable Sub OnPaintShape ( _
    e As DiagramPaintEventArgs _
)
public virtual void OnPaintShape(
    DiagramPaintEventArgs e
)
public:
virtual void OnPaintShape(
    DiagramPaintEventArgs^ e
)
abstract OnPaintShape : 
        e:DiagramPaintEventArgs -> unit  
override OnPaintShape : 
        e:DiagramPaintEventArgs -> unit
public function OnPaintShape(
    e : DiagramPaintEventArgs
)

Parameters

Remarks

OnPaint calls this method.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace