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!

ISelectionUIHandler Members

Methods

BeginDrag Begins a drag on the currently selected designer. The designer should provide UI feedback about the drag at this time. Typically, this feedback consists of an inverted rectangle for each component, or a caret if the component is text.
DragMoved Called when the user has moved the mouse. This will only be called on the designer that returned true from beginDrag. The designer should update its UI feedback here.
EndDrag Called when the user has completed the drag. The designer should remove any UI feedback it may be providing.
GetComponentBounds Retrieves the shape of the component. The component's shape should be in absolute coordinates and in pixels, where 0,0 is the upper left corner of the screen.
GetComponentRules Retrieves a set of rules concerning the movement capabilities of a component. This should be one or more flags from the SelectionRules class. If no designer provides rules for a component, the component will not get any UI services.
GetSelectionClipRect Determines the rectangle that any selection adornments should be clipped to. This is normally the client area (in screen coordinates) of the container.
OleDragDrop [To be supplied.]
OleDragEnter [To be supplied.]
OleDragLeave [To be supplied.]
OleDragOver [To be supplied.]
OnSelectionDoubleClick Handle a double-click on the selection rectangle of the given component.
QueryBeginDrag Queries to see if a drag operation is valid on this handler for the given set of components. If it returns true, BeginDrag will be called immediately after.
ShowContextMenu Shows the context menu for the given component.

See Also

ISelectionUIHandler Interface | System.WinForms.Design Namespace