BarItem.AllowRightClickInMenu Property
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.v24.2.dll
Declaration
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AllowRightClickInMenu { get; set; }
Property Value
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. |
Remarks
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