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
'Declaração
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
Details of the event.
Remarks
By default, the ShapeGeometry class is used to draw the 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.