Freigeben über


ShapeElement.OnPaintSelection(DiagramPaintEventArgs) Method

Definition

Draws the selection of this ShapeElement. By default, the ShapeElement's ShapeGeometry will draw the selection. The coordinate system of the Graphics object is in world units and relative to the parent shape.

public:
 virtual void OnPaintSelection(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e);
public virtual void OnPaintSelection (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e);
abstract member OnPaintSelection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs -> unit
override this.OnPaintSelection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs -> unit
Public Overridable Sub OnPaintSelection (e As DiagramPaintEventArgs)

Parameters

e
DiagramPaintEventArgs

A DiagramPaintEventArgs that contains event data. The coordinate system of the Graphics object is in world units and relative to the parent shape.

Applies to