共用方式為


ShapeField.DoPaint(DiagramPaintEventArgs, ShapeElement) Method

Definition

Draws the shape field.

public:
 virtual void DoPaint(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual void DoPaint (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member DoPaint : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
override this.DoPaint : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
Public Overridable 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