aspnet-devexpress-dot-web-ac4cb453.md
Specifies which action forces an opened popup window to close.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum WindowCloseAction
Public Enum WindowCloseAction
| 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.
|
The following properties accept/return WindowCloseAction values:
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