Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool RestoreMenu { get; set; }

#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.

See Also