Skip to main content

PopupMenuSettings.PopupAction Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public PopupAction PopupAction { get; set; }

Property Value

Type Description
PopupAction

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 specified by the PopupMenuSettings.PopupElementID property. Use the PopupAction property to specify the precise client mouse action which will invoke the current popup menu control. To specify an action that forces a displayed popup menu to close, use the PopupMenuSettings.CloseAction property.

See Also