MindFusion.Wpf Pack Programmer's Guide
Diagram.Selection Property
See Also
 





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

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

 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

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
ModificationStart Property
AdjustmentHandlesSize Property
HitTestPriority Property