Compartir a través de


LinkShapeGeometry.DoPaintSelection Method

Definition

Draws a selection typically surrounding the geometry.

public:
 override void DoPaintSelection(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost, bool isSelected, bool isFocused, bool isPrimary);
public override void DoPaintSelection (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost, bool isSelected, bool isFocused, bool isPrimary);
override this.DoPaintSelection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost * bool * bool * bool -> unit
Public Overrides Sub DoPaintSelection (e As DiagramPaintEventArgs, geometryHost As IGeometryHost, isSelected As Boolean, isFocused As Boolean, isPrimary As Boolean)

Parameters

e
DiagramPaintEventArgs

The DiagramPaintEventArgs that contains paint event data.

geometryHost
IGeometryHost

The instance data for the geometry.

isSelected
Boolean

true if the geometry should indicate selection.

isFocused
Boolean

true if the geometry should indicate focus.

isPrimary
Boolean

true if the geometry should indicate that this is the primary item in the selection.

Applies to