Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Draws the selection highlighting, which typically surrounds the shape boundary.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public MustOverride Sub DoPaintSelection ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost, _
isSelected As Boolean, _
isFocused As Boolean, _
isPrimary As Boolean _
)
public abstract 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
) abstract
abstract DoPaintSelection :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost *
isSelected:bool *
isFocused:bool *
isPrimary:bool -> unit
public abstract function DoPaintSelection(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost,
isSelected : boolean,
isFocused : boolean,
isPrimary : boolean
)
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.
.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.