Freigeben über


ShapeGeometry.DoPaintSelection Method

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

  • 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

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace