NodeShapeGeometry::DoPaintSelection Method (DiagramPaintEventArgs^, IGeometryHost^, Boolean, Boolean, Boolean)

 

Draws a selection typically surrounding the geometry.

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

public:
virtual void DoPaintSelection(
	DiagramPaintEventArgs^ e,
	IGeometryHost^ geometryHost,
	bool isSelected,
	bool isFocused,
	bool isPrimary
) override

Parameters

e
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramPaintEventArgs^

The DiagramPaintEventArgs that contains paint event data.

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^

The instance data for the geometry.

isSelected
Type: System::Boolean

true if the geometry should indicate selection.

isFocused
Type: System::Boolean

true if the geometry should indicate focus.

isPrimary
Type: System::Boolean
Return to top
Show: