ToggleButtonField.DoPaint Method
Draws the contents of the ShapeField.
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 Overrides Sub DoPaint ( _
e As DiagramPaintEventArgs, _
parentShape As ShapeElement _
)
public override void DoPaint(
DiagramPaintEventArgs e,
ShapeElement parentShape
)
public:
virtual void DoPaint(
DiagramPaintEventArgs^ e,
ShapeElement^ parentShape
) override
abstract DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
override DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
public override function DoPaint(
e : DiagramPaintEventArgs,
parentShape : ShapeElement
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
A DiagramPaintEventArgs that contains the event data.
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent shape of this field.
.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.