PopupControlSettings.CloseAction Property
Gets or sets a value that specifies which action forces a displayed popup window to close.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public CloseAction CloseAction { get; set; }
#Property Value
Type | Description |
---|---|
Close |
One of the Close |
Available values:
Name | Description |
---|---|
None | Specifies that a popup element can’t be closed via an end-user interaction, but can be closed programmatically via specific client script methods. |
Close |
Specifies that a popup element is closed when clicking its close button (if any). |
Outer |
Specifies that a popup element is closed when clicking a mouse button outside the popup element. |
Mouse |
Specifies that a popup element is closed when the mouse cursor moves out of it. |
#Remarks
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 the popup control’s popup window.