Skip to main content
All docs
V25.1
  • 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.v25.1.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