Draws the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub DoPaint ( _
e As DiagramPaintEventArgs, _
parentShape As ShapeElement _
)
'使用
Dim instance As ShapeField
Dim e As DiagramPaintEventArgs
Dim parentShape As ShapeElement
instance.DoPaint(e, parentShape)
public virtual void DoPaint(
DiagramPaintEventArgs e,
ShapeElement parentShape
)
public:
virtual void DoPaint(
DiagramPaintEventArgs^ e,
ShapeElement^ parentShape
)
public function DoPaint(
e : DiagramPaintEventArgs,
parentShape : ShapeElement
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsThe arguments to use when the diagram is painted.
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape to which the shape field is assigned.
Permissions
- 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.