Partager via


NodeShapeGeometry.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

  • isSelected
    Type: System.Boolean

    true if the geometry should indicate selection.

  • isFocused
    Type: System.Boolean

    true if the geometry should indicate focus.

.NET Framework Security

See Also

Reference

NodeShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace