windowsforms-devexpress-dot-xtrabars-dot-baritem-7914e7de.md
Gets or sets if the current command’s functionality is invoked via the right mouse click when in a sub-menu or popup menu.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AllowRightClickInMenu { get; set; }
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property AllowRightClickInMenu As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the current command’s functionality is invoked via the right mouse click when in a sub-menu or popup menu; otherwise, false.
|
BarItemLinks corresponding to the current BarItem can be placed within sub-menus or popup menus. By default, you can invoke an item’s functionality with both a right and left mouse click. This raises the BarManager.ItemClick and BarItem.ItemClick events. The AllowRightClickInMenu property allows you to prevent the item’s functionality from being invoked on a right mouse click.
See Also