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.
[Visual Basic] Function QueryBeginDrag( _ ByVal components() As Object, _ ByVal rules As SelectionRules, _ ByVal initialX As Integer, _ ByVal initialY As Integer _ ) As Boolean [C#] bool QueryBeginDrag( object[] components, SelectionRules rules, int initialX, int initialY ); [C++] bool QueryBeginDrag( Object* components[], SelectionRules rules, int initialX, int initialY ) = 0; [JScript] function QueryBeginDrag( components : Object[], rules : SelectionRules, initialX : int, initialY : int ) : Boolean;
true if the designer is going to be the one handling this drag, or false if not.
ISelectionUIHandler Interface | ISelectionUIHandler Members | System.WinForms.Design Namespace