Drag this HtmlControl by specifying a reference point on the HtmlControl rectangle to start the drag from
and a reference point on the destination HtmlControl to specify the drop location.
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public virtual void DragTo( OffsetReference sourceOffsetReference, int sourceOffsetX, int sourceOffsetY, bool sourcePixelDrag, HtmlControl destination, OffsetReference destinationOffsetReference, int destinationOffsetX, int destinationOffsetY, bool pixelDrop )
Parameters
- sourceOffsetReference
- Type: ArtOfTest.CommonOffsetReference
The source offset reference of the drag start. - sourceOffsetX
- Type: SystemInt32
The offset X from the specified source reference. May be positive or negative. - sourceOffsetY
- Type: SystemInt32
The offset Y from the specified source reference. May be positive or negative. - sourcePixelDrag
- Type: SystemBoolean
If True, will use the sourceOffsetX and sourceOffsetY as the pixel drop point, if false will use sourceOffsetX and sourceOffsetY as a percentage for calculating the drop point. - destination
- Type: ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
The destination HtmlControl. - destinationOffsetReference
- Type: ArtOfTest.CommonOffsetReference
The destination offset reference of the drop. - destinationOffsetX
- Type: SystemInt32
The offset X from the specified destination reference. May be positive or negative. - destinationOffsetY
- Type: SystemInt32
The offset Y from the specified destination reference. May be positive or negative. - pixelDrop
- Type: SystemBoolean
If True, will use the windowOffsetX and windowOffsetY as the pixel drop point, if false will use windowOffsetX and windowOffsetY as a percentage for calculating the drop point.
See Also