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

[Visual Basic]
Function BeginDrag( _
   ByVal components() As Object, _
   ByVal rules As SelectionRules, _
   ByVal initialX As Integer, _
   ByVal initialY As Integer _
) As Boolean
[C#]
bool BeginDrag(
   object[] components,
   SelectionRules rules,
   int initialX,
   int initialY
);
[C++]
bool BeginDrag(
   Object* components[],
   SelectionRules rules,
   int initialX,
   int initialY
) = 0;
[JScript]
function BeginDrag(
   components : Object[],
   rules : SelectionRules,
   initialX : int,
   initialY : int
) : Boolean;

Parameters

components
The set of components that is going to be dragged.
rules
The rules for the operation to begin, from SelectionRules
initialX
Starting X position, in screen coordinates, of the drag
initialY
Starting X position, in screen coordinates, of the drag

Return Value

True if the drag should begin

See Also

ISelectionUIHandler Interface | ISelectionUIHandler Members | System.WinForms.Design Namespace