Skip to main content

PopupWindow.CloseAction Property

Gets or sets a value that specifies which action forces the popup window to close, if it’s displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public WindowCloseAction CloseAction { get; set; }

Property Value

Type Default Description
WindowCloseAction Default

One of the CloseAction enumeration values.

Available values:

Name Description

Specifies that a popup window can’t be closed via an end-user interaction, but can be closed programmatically via specific client script methods.


Specifies that a popup window is closed when clicking its close button (if any).


Specifies that a popup window is closed when clicking a mouse button outside the popup window.


Specifies that a popup window is closed when the mouse cursor moves out of it.


Indicates that the close action depends upon the popup control’s ASPxPopupControl.CloseAction property setting.


A displayed popup window may be closed in response to a specific mouse action performed on the client side (such as a mouse click or mouse movement). Use the CloseAction property to specify the precise client action which will hide an individual popup window.

This property setting overrides the ASPxPopupControl.CloseAction property that specifies the close action for all popup windows from the ASPxPopupControl.Windows collection.

See Also