Skip to main content
All docs
V24.2

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

RibbonSearchMenuEventArgs.ShowNoMatchesItem Property

Gets or sets whether to display the No matches found item in the Search Menu.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool ShowNoMatchesItem { get; set; }

#Property Value

Type Description
Boolean

true to display the No matches found item in the Search Menu; otherwise, false.

#Remarks

If the ribbon control does not contain items that match the search query, the Search Menu displays the No matches found item:

Ribbon Search Menu - No Matches Found Item

Set the ShowNoMatchesItem property to false to hide this item when you populate the Search Menu in code.

See Also