Class DragPanel

A draggable Panel control that can be dragged around the current browser window. Dragging is supported for the panel and initiated through a drag handle control - a control that is contained in the window and acts as the draggable hot spot that initiates dragging. You can also make the Panel itself the drag handle.

The control can also optionally display a close button that allows hiding the control by changing its client side visibility.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        Westwind.Web.Controls.DragPanel
public class DragPanel : Panel

Class Members

MemberDescription

Constructor

Centered

Determines whether the panel is centered in the page

ClientDialogHandler

Client side event handler that is called whenever a click event occurs anywhere inside of the modal dialog.

Closable

Flag that determines whether a closebox is rendered into the
specified as a drag handle.

CloseBoxImage

Optional Image used for close box if ShowCloseBoxOnDragHandle is true.

Cursor

The cursor property for the dragged handle or object

DragDelay

Delay before dragging starts in milliseconds

Draggable

Determines whether this control is draggable

DragHandleID

The ID of the control that is used as the drag handle to initiate a drag operation.

FadeOnClose

Fades out the window when it is closed with the close button

jQueryScriptLocation

Determines where the jquery.js resource is loaded from. WebResources, Url or leave empty to do nothing

PanelOpacity

Optional Opacity level in decimal percentage values (ie. 0.65 for 65%) for the panel background. Supported only in Mozilla and IE browsers. The value is given as fractional percentage.

ScriptLocation

Determines where the ww.jquery.js resource is loaded from. WebResources, Url or an empty string (no resource loaded)

ShadowOffset

Optionally used to specify a shadow below the panel. If 0 no shadow is created. If greater than 0 the panel is rendered.

ShadowOpacity

The opacity of the Panel's shadow if PanelShadoOffset is set.

Requirements

Namespace: Westwind.Web.Controls
Assembly: westwind.web.webforms.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic