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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
Event data. For a list of arguments, see DiagramPaintEventArgs.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.