This can be called by an outside party to begin a drag of the currently selected set of components. At least one designer must have added a UI handler or else this method will always return false.
[Visual Basic] Function BeginDrag( _ ByVal rules As SelectionRules, _ ByVal initialX As Integer, _ ByVal initialY As Integer _ ) As Boolean [C#] bool BeginDrag( SelectionRules rules, int initialX, int initialY ); [C++] bool BeginDrag( SelectionRules rules, int initialX, int initialY ) = 0; [JScript] function BeginDrag( rules : SelectionRules, initialX : int, initialY : int ) : Boolean;
true if the selection service will allow the drag to proceed.
ISelectionUIService Interface | ISelectionUIService Members | System.WinForms.Design Namespace