SwimlaneShape.CoerceSelection Method

Expands or reduces the selection when the user tries to select this shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public Overrides Sub CoerceSelection ( _
    item As DiagramItem, _
    view As DiagramClientView, _
    isAddition As Boolean _
)
public override void CoerceSelection(
    DiagramItem item,
    DiagramClientView view,
    bool isAddition
)
public:
virtual void CoerceSelection(
    DiagramItem^ item, 
    DiagramClientView^ view, 
    bool isAddition
) override
abstract CoerceSelection : 
        item:DiagramItem * 
        view:DiagramClientView * 
        isAddition:bool -> unit 
override CoerceSelection : 
        item:DiagramItem * 
        view:DiagramClientView * 
        isAddition:bool -> unit 
public override function CoerceSelection(
    item : DiagramItem, 
    view : DiagramClientView, 
    isAddition : boolean
)

Parameters

  • isAddition
    Type: System.Boolean
    true if the user is adding to the current selection; false if the selection is being removed.

.NET Framework Security

See Also

Reference

SwimlaneShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace