LinkShapeGeometry.DoPaintSelection Method
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)
Syntax
'Declaration
Public Overrides Sub DoPaintSelection ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost, _
isSelected As Boolean, _
isFocused As Boolean, _
isPrimary As Boolean _
)
public override void DoPaintSelection(
DiagramPaintEventArgs e,
IGeometryHost geometryHost,
bool isSelected,
bool isFocused,
bool isPrimary
)
public:
virtual void DoPaintSelection(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost,
bool isSelected,
bool isFocused,
bool isPrimary
) override
abstract DoPaintSelection :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost *
isSelected:bool *
isFocused:bool *
isPrimary:bool -> unit
override DoPaintSelection :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost *
isSelected:bool *
isFocused:bool *
isPrimary:bool -> unit
public override function DoPaintSelection(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost,
isSelected : boolean,
isFocused : boolean,
isPrimary : boolean
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsThe DiagramPaintEventArgs that contains paint event data.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance data for the geometry.
isSelected
Type: System.Booleantrue if the geometry should indicate selection.
isFocused
Type: System.Booleantrue if the geometry should indicate focus.
isPrimary
Type: System.Booleantrue if the geometry should indicate that this is the primary item in the selection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.