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.
Namespace:
Gaia.WebWidgetsAssembly: Gaia.WebWidgets (in Gaia.WebWidgets.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
| C# |
|---|
public AspectDraggable( EventHandler dropped, Rectangle boundingRect ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ dropped As EventHandler, _ boundingRect As Rectangle _ ) |
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. To make it only draggable in one axis set both other axis values to 0.
