Search
DiagramBase.LassoDrawn Event
See Also
 





Raised when the user completes drawing a selection lasso.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public event EventHandler<SelectionEventArgs> LassoDrawn

Visual Basic  Copy Code

Public Event LassoDrawn As EventHandler(Of SelectionEventArgs)

 Event Data

Member name

Description

Bounds

Gets the rectangular bounds of the drawn lasso.

 Remarks

This event is best used in conjunction with the DrawLasso behavior, which disables standard selection logic. Upon completing a lasso gesture, you might want to trigger immediate actions based on the lassoed area, such as:

  • Opening a custom context menu or UI panel styled for bulk operations.
  • Creating a visual screenshot / export of only that specific region.
  • Implementing custom selection logic or filters (e.g. select nodes of a specific type, or select only links).
  • Bookmarking the selected area (adding it to Bookmarks).

 See Also