Skip to main content
A newer version of this page is available. .
Tab

PopupWindow.PopupAction Property

Gets or sets a value that specifies which action forces the current popup window to appear.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(WindowPopupAction.Default)]
public WindowPopupAction PopupAction { get; set; }

Property Value

Type Default Description
WindowPopupAction **Default**

One of the WindowPopupAction enumeration values.

Available values:

Name Description
None

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

LeftMouseClick

Specifies that a popup window is invoked at a left mouse button click within the corresponding linked web control or HTML element.

RightMouseClick

Specifies that a popup window is invoked at a right mouse button click within the corresponding linked web control or HTML element.

MouseOver

Specifies that a popup window is invoked when the mouse cursor hovers over the corresponding linked web control or HTML element.

Default

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

Remarks

A popup window may be invoked by a specific mouse action (such as a left mouse click, right mouse click or hovering) which is performed on a particular element (a web control or any HTML element) specified by the popup control’s ASPxPopupControl.PopupElementID property (or the PopupWindow.PopupElementID property of the popup window). Use the PopupAction property to specify the precise client action which will invoke the current popup window.

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

See Also