Partager via


MoveableDecoratorHostShape.OnPaintSelection Method

Override OnPaintSelection() to draw a thin line from this host shape to the anchor point.

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

Syntax

'Déclaration
Public Overrides Sub OnPaintSelection ( _
    e As DiagramPaintEventArgs _
)
public override void OnPaintSelection(
    DiagramPaintEventArgs e
)
public:
virtual void OnPaintSelection(
    DiagramPaintEventArgs^ e
) override
abstract OnPaintSelection : 
        e:DiagramPaintEventArgs -> unit 
override OnPaintSelection : 
        e:DiagramPaintEventArgs -> unit 
public override function OnPaintSelection(
    e : DiagramPaintEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace