ShapeField::DoPaint Method (DiagramPaintEventArgs^, ShapeElement^)

 

Draws the shape field.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void DoPaint(
	DiagramPaintEventArgs^ e,
	ShapeElement^ parentShape
)

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.

Return to top
Show: