Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​ComponentModel.​Design.​ISelectionService

Assembly: System.ComponentModel.TypeConverter

Provides an interface for a designer to select components.

Properties

object
PrimarySelection
Gets the object that is currently the primary selected object.
int
SelectionCount
Gets the count of selected objects.

Methods

bool
GetComponentSelected​(object component)
Gets a value indicating whether the specified component is currently selected.
Returns <see langword="true" /> if the component is part of the user's current selection; otherwise, <see langword="false" /> .
component The component to test.
GetSelectedComponents​()
Gets a collection of components that are currently selected.
Returns A collection that represents the current set of components that are selected.
void
SetSelectedComponents​(Collections.​ICollection components)
Selects the specified collection of components.
components The collection of components to select.
void
SetSelectedComponents​(Collections.​ICollection components, SelectionTypes selectionType)
Selects the components from within the specified collection of components that match the specified selection type.
components The collection of components to select.
selectionType A value from the <see cref="T:System.ComponentModel.Design.SelectionTypes" /> enumeration. The default is <see cref="F:System.ComponentModel.Design.SelectionTypes.Normal" /> .