Skip to content

DragPanel

MikhailTymchukDX edited this page Apr 29, 2016 · 2 revisions

DragPanelExtender (demo)

This extender attaches the stock floatingBehavior to the panel and is an example of wrapping the existing behavior with an extender. On being attached to the panel, a user can then drag that panel around the browser rendering surface using the mouse.

Properties

Name Description
DragHandleID The server ID of a control that will serve as a handle for this drag operation. When a user clicks and drags this control, the associated panel will be moved as well.

Client properties

Name Description
handle Handles to drag the panel around.
location Defines the location of an element being dragged.

Client events

Name Description
move Move event handler.

Client properties

handle

Handles to drag the panel around.

Getter name: get_handle()
Setter name: set_handle(value)

location

Defines the location of an element being dragged.

Getter name: get_location()
Setter name: set_location(value)

Client events

move

Move event handler.

Add event handler method: add_move(handler)
Remove event handler method: remove_move(handler)

Clone this wiki locally