Back to Devexpress

ASPxDockPanel.AllowDragging Property

aspnet-devexpress-dot-web-dot-aspxdockpanel-7aed3e39.md

latest2.0 KB
Original Source

ASPxDockPanel.AllowDragging Property

Gets or sets a value specifying whether a panel can be dragged by end users.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public override bool AllowDragging { get; set; }
vb
<DefaultValue(True)>
Public Overrides Property AllowDragging As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if end users can drag a panel; otherwise, false.

|

Remarks

Use the AllowDragging property to control the ability of end users to drag a panel to another position within a web page. To specify which part of a panel can be dragged to move the panel within the page use the ASPxPopupControlBase.DragElement property.

If the AllowDragging option is enabled, you can perform specific actions in response to the start and end of a dragging operation, by handling the client-side ASPxClientDockPanel.StartDragging and ASPxClientDockPanel.EndDragging events.

See Also

StartDragging

EndDragging

DragElement

Panel Overview

Docking

ASPxDockPanel Class

ASPxDockPanel Members

DevExpress.Web Namespace