NodeShapeGeometry.DoPaintSelection Method
Draws a selection typically surrounding the geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
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.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
.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.