ShapeElement.OnPaintSelection Method

Called to paint the selection highlight.

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

Syntax

声明
Public Overridable Sub OnPaintSelection ( _
    e As DiagramPaintEventArgs _
)
public virtual void OnPaintSelection(
    DiagramPaintEventArgs e
)
public:
virtual void OnPaintSelection(
    DiagramPaintEventArgs^ e
)
abstract OnPaintSelection : 
        e:DiagramPaintEventArgs -> unit 
override OnPaintSelection : 
        e:DiagramPaintEventArgs -> unit 
public function OnPaintSelection(
    e : DiagramPaintEventArgs
)

Parameters

Remarks

By default, the ShapeGeometry class is used to draw the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace