ShapeField.DoPaint Method
Draws the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Overridable Sub DoPaint ( _
e As DiagramPaintEventArgs, _
parentShape As ShapeElement _
)
public virtual void DoPaint(
DiagramPaintEventArgs e,
ShapeElement parentShape
)
public:
virtual void DoPaint(
DiagramPaintEventArgs^ e,
ShapeElement^ parentShape
)
abstract DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
override DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
public function DoPaint(
e : DiagramPaintEventArgs,
parentShape : ShapeElement
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
The graphical surface and other arguments to use when the diagram is painted.
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent shape to which the shape field is assigned.
.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.