Back to Devexpress

ASPxPopupMenu.PopupAction Property

aspnet-devexpress-dot-web-dot-aspxpopupmenu.md

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(PopupAction.RightMouseClick)]
public PopupAction PopupAction { get; set; }
vb
<DefaultValue(PopupAction.RightMouseClick)>
Public Property PopupAction As PopupAction

Property Value

TypeDefaultDescription
PopupActionRightMouseClick

One of the PopupAction enumeration values.

|

Available values:

NameDescription
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

PopupElementID

ASPxPopupMenu Class

ASPxPopupMenu Members

DevExpress.Web Namespace