NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionService Members

Methods

GetComponentSelected Gets whether the component is currently selected.
GetContainerSelected Gets whether the specified component is the currently selected container.
GetPrimarySelection Gets the object that is currently the primary selection.
GetSelectedComponents Gets an array of components that are currently part of the user's selection.
GetSelectionCount Gets the count of selected objects.
SetContainerSelected Changes the container selection status of the given component.
SetSelectedComponents Overloaded. Sets the currently selected set of components.

Events

SelectionChanged Occurs when the user changes the current list of selected components in the designer.
SelectionChanging Occurs when the user changes the current list of selected components in the designer. This event is raised before the actual selection changes.

Event Hookup:

Methods

AddOnSelectionChanged Adds a System.ComponentModel.Design.ISelectionService.SelectionChanged event handler to the selection service.
AddOnSelectionChanging Adds an event handler to the selection service.
RemoveOnSelectionChanged Removes a selection changed event handler from the selection service.
RemoveOnSelectionChanging Removes a selection changing event handler from the selection service.

See Also

ISelectionService Interface | System.ComponentModel.Design Namespace