Diagram.OnPaintShape Method

Lets derived classes perform an action when the diagram background and grid are painted.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace