Skip to main content

GridMenuItemClickEventArgs.Handled Property

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.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public bool Handled { get; set; }

Property Value

Type Description
Boolean

true if default event processing is not required; otherwise, false.

Remarks

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