FormListControl.beginDrag(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies when the user starts to move a form list control or an item in a form list control.
public:
override int beginDrag(int _x, int _y);
public override int beginDrag (int _x, int _y);
override this.beginDrag : int * int -> int
Public Overrides Function beginDrag (_x As Integer, _y As Integer) As Integer
Parameters
- _x
- Int32
An Integer data type that indicates the y-coordinate for the move event.
- _y
- Int32
An Integer data type that indicates the y-coordinate for the move event.
Returns
0 (zero) if the event has been handled.
Remarks
To override this method on a list view control, right-click the Methods node below the control, point to Override Method, and then click beginDrag. For information about best practices for forms and code, see No Code in Forms.