PopupMenuShowingEventArgs.RestoreMenu Property
Gets or sets whether the current menu should be restored to its default state, after it has been displayed on-screen.
Namespace: DevExpress.XtraEditors.Filtering
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Boolean | A Boolean value that specifies whether the current menu should be restored to its default state after it has been displayed on-screen. |
Remarks
You can handle the FilterControl.PopupMenuShowing, to add custom items to menus. By default, items added are not automatically removed from a menu after it has been displayed. To remove items, you can set the RestoreMenu property to true. In this instance, the menu will be reset to its default state after it has been displayed.