ShapeElement.OnPaintShape Method
Called to paint the basic parts of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
Details of the event.
Remarks
OnPaint calls this method.
.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.