Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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
- e 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs- A DiagramPaintEventArgs that contains event data. The coordinate system of the Graphics object is in world units and relative to the parent shape. 
.NET Framework Security
- 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.