Drag this HtmlControl, using the browser window as the drop target
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 DragToWindowLocation( OffsetReference sourceOffsetReference, int sourceOffsetX, int sourceOffsetY, bool sourcePixelDrag, OffsetReference windowOffset, int windowOffsetX, int windowOffsetY, 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. - windowOffset
- Type: ArtOfTest.CommonOffsetReference
The destination offest reference of the drag destination. - windowOffsetX
- Type: SystemInt32
The offset X from the specified destination reference. May be positive or negative. - windowOffsetY
- 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