NodeShapeGeometry.DoPaintSelection Method

Draws a selection typically surrounding the geometry.

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 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: Boolean

    true if the geometry should indicate selection.

  • isFocused
    Type: Boolean

    true if the geometry should indicate focus.

  • isPrimary
    Type: Boolean

.NET Framework Security

See Also

Reference

NodeShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace