Gets a Selection instance that represents the selection of items in this diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public Selection Selection { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property Selection As Selection |
An instance of the Selection class representing the current selection.
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.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |