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!

ISelectionUIService.AssignSelectionUIHandler

Assigns a selection UI handler to a given component. The handler will be called when the UI service needs information about the component. A single selection UI handler can be assigned to multiple components. When multiple components are dragged, only a single handler may control the drag. Because of this, only components that are assigned the same handler as the primary selection are included in drag operations. A selection UI handler is automatically unassigned when the component is removed from the container or disposed.

[Visual Basic]
Sub AssignSelectionUIHandler( _
   ByVal component As Object, _
   ByVal handler As ISelectionUIHandler _
)
[C#]
void AssignSelectionUIHandler(
   object component,
   ISelectionUIHandler handler
);
[C++]
void AssignSelectionUIHandler(
   Object* component,
   ISelectionUIHandler* handler
) = 0;
[JScript]
function AssignSelectionUIHandler(
   component : Object,
   handler : ISelectionUIHandler
);

Parameters

component
The component that this handler is in control of. A handler may control multiple components.
handler
The selection UI handler to assign.

See Also

ISelectionUIService Interface | ISelectionUIService Members | System.WinForms.Design Namespace | removeSelectionUIHandler