windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridmenuitemclickeventargs-e6b90ed7.md
Gets or sets a value specifying whether default menu item click processing is required after event handler execution.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
public bool Handled { get; set; }
Public Property Handled As Boolean
| Type | Description |
|---|---|
| Boolean |
true if default event processing is not required; otherwise, false.
|
You can prohibit default actions performed when clicking a menu item by setting the Handled property to true. In this case, you are responsible for implementing a proper menu item click response within the GridView.GridMenuItemClick event handler.
When handling footer cell item clicks, the default item click handling involves setting a corresponding summary item’s properties as specified by the GridMenuItemClickEventArgs.SummaryType and GridMenuItemClickEventArgs.SummaryFormat event parameters. Thus, you are allowed to customize the default behavior and do not necessarily need to set the GridMenuItemClickEventArgs.Handled property to true to change default item click processing.
See Also
GridMenuItemClickEventArgs Class