Skip to main content
Tab

ASPxPopupControlBase.AllowDragging Property

Specifies whether end users can drag a control’s window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(false)]
public virtual bool AllowDragging { get; set; }

Property Value

Type Default Description
Boolean

false

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

Remarks

Use the AllowDragging property to control whether end users can drag a window to another position in a web page.

Note

Example

If a content of the ASPxPopupControl is loaded slowly, you can show a loading panel reflecting this process.

View Example

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h2> Page content </h2>
    </div>
    </form>
</body>
</html>
See Also