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

 

Draws the selection highlighting, which typically surrounds the shape boundary.

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
) abstract

Parameters

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

The diagram paint event arguments.

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

The shape or link.

isSelected
Type: System::Boolean

true if the shape is selected; otherwise, false.

isFocused
Type: System::Boolean

true if the shape has the focus; otherwise, false.

isPrimary
Type: System::Boolean

true if the shape geometry is the primary (first) shape in the selection; otherwise, false.

Return to top
Show: