ShapeGeometry.DoPaintSelection Method

Definition

Draws a selection typically surrounding the geometry.

public:
 abstract void DoPaintSelection(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost, bool isSelected, bool isFocused, bool isPrimary);
public abstract void DoPaintSelection (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost, bool isSelected, bool isFocused, bool isPrimary);
abstract member DoPaintSelection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost * bool * bool * bool -> unit
Public MustOverride 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

Applies to