Skip to main content

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.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CloseAction CloseAction { get; set; }

Property Value

Type Description
CloseAction

One of the CloseAction enumeration values.

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.

CloseButton

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

OuterMouseClick

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

MouseOut

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.

See Also