Skip to main content
Tab

ASPxPopupMenu.PopupAction Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
PopupAction RightMouseClick

One of the PopupAction enumeration values.

Available values:

Name Description
None

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

LeftMouseClick

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

RightMouseClick

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

MouseOver

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

Remarks

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

See Also