Constructor taking event handler for the Dropped event in addition to a Rectangle which defines the boundaries of where the user can drag the item and a boolean value which says if the dragging operation should be reverted when the user lets go of the widget.

Namespace:  Gaia.WebWidgets
Assembly:  Gaia.WebWidgets (in Gaia.WebWidgets.dll) Version: 3.6.0.0 (3.6.0.0)

Syntax

C#
public AspectDraggable(
	EventHandler dropped,
	Rectangle boundingRect,
	bool revert
)
Visual Basic (Declaration)
Public Sub New ( _
	dropped As EventHandler, _
	boundingRect As Rectangle, _
	revert As Boolean _
)

Parameters

dropped
Type: System..::.EventHandler
delegate called when item is dropped on page
boundingRect
Type: System.Drawing..::.Rectangle
Rectangle from which to constrain movements within
revert
Type: System..::.Boolean
If true Draggable will "animate" back to the former place after being dropped, default value is false

See Also