Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Draws the selection highlighting, which typically surrounds the shape boundary.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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.DiagramPaintEventArgsThe diagram paint event arguments.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe shape or link.
isSelected
Type: Booleantrue if the shape is selected; otherwise, false.
isFocused
Type: Booleantrue if the shape has the focus; otherwise, false.
isPrimary
Type: Booleantrue 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.