共用方式為


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

'宣告
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

.NET Framework Security

See Also

Reference

ToggleButtonField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace