Compartir a través de


Imagelist.dragBegin(Int32, Int32, Int32) Method

Definition

Begins dragging an image.

public:
 virtual bool dragBegin(int _imageIdx, int _hotSpotX, int _hotSpotY);
public virtual bool dragBegin (int _imageIdx, int _hotSpotX, int _hotSpotY);
abstract member dragBegin : int * int * int -> bool
override this.dragBegin : int * int * int -> bool
Public Overridable Function dragBegin (_imageIdx As Integer, _hotSpotX As Integer, _hotSpotY As Integer) As Boolean

Parameters

_imageIdx
Int32

The Y-coordinate of the drag position, relative to the upper-left corner of the image.

_hotSpotX
Int32

The Y-coordinate of the drag position, relative to the upper-left corner of the image.

_hotSpotY
Int32

The Y-coordinate of the drag position, relative to the upper-left corner of the image.

Returns

1 if the method is successful.

Remarks

The rest of the drag operation is specified by the dragEnter, dragMove, dragLeave, and dragEnd methods.

Applies to