ISelectionService Interface
Definition
Namespace: Alternet.FormDesigner.Wpf
Assembly: Alternet.FormDesigner.Wpf.v9.dll
Manages selecting components.
Syntax
public interface ISelectionService
Properties
PrimarySelection | Gets the object that is currently the primary selected object. |
SelectedItems | Gets the collection of selected components. This is a copy of the actual selected components collection, the returned copy of the collection will not reflect future changes to the selection. |
SelectionCount | Gets the count of selected objects. |
Methods
IsComponentSelected(DesignItem) | Gets if the specified component is selected. |
SetSelectedComponents(ICollection<DesignItem>) | Replaces the current selection with the specified selection. |
SetSelectedComponents(ICollection<DesignItem>, SelectionTypes) | Modifies the current selection using the specified components and selectionType. |
Events
PrimarySelectionChanged | Occurs after the primary selection has changed. |
PrimarySelectionChanging | Occurs when the primary selection is about to change. |
SelectionChanged | Occurs after the current selection has changed. |
SelectionChanging | Occurs when the current selection is about to change. |