共用方式為


ToggleButtonField.DoPaint(DiagramPaintEventArgs, ShapeElement) Method

Definition

Draws the contents of the ShapeField.

public:
 override void DoPaint(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public override void DoPaint (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
override this.DoPaint : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
Public Overrides Sub DoPaint (e As DiagramPaintEventArgs, parentShape As ShapeElement)

Parameters

e
DiagramPaintEventArgs

A DiagramPaintEventArgs that contains the event data.

parentShape
ShapeElement

The parent shape of this field.

Applies to