Skip to main content
Tab

WindowCloseAction Enum

Specifies which action forces an opened popup window to close.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public enum WindowCloseAction

#Members

Name Description
None

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

CloseButton

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

OuterMouseClick

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

MouseOut

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

Default

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

#Related API Members

The following properties accept/return WindowCloseAction values:

#Remarks

The WindowCloseAction enumerator contains values that specify which client action closes a popup window. The values of this enumerator are used to set the PopupWindow.CloseAction property of a popup window object.

See Also