Search
Diagram.Selection Property
See Also
 






Gets the Selection instance that represents the selection of items in this diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Selection Selection { get; }

Visual Basic  Copy Code

Public ReadOnly Property Selection As Selection

 Property Value

An instance of the Selection class representing the current selection.

 Remarks

Use this property to get the items currently selected by a user. Items can be enumerated by the Items member of the Selection class. An item from the selection is considered the active one and can be accessed by using ActiveItem. To prevent users from selecting multiple items, set AllowMultipleSelection to false.

 See Also