Table of Contents

Interface ISelectionService

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Manages selecting components.

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)

Indicates 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.