Back to Devexpress

RibbonControl.ShowSearchItem Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-f8e7202c.md

latest2.6 KB
Original Source

RibbonControl.ShowSearchItem Property

Use the RibbonOptionsSearchMenu.SearchItemPosition property to control search item visibility.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool ShowSearchItem { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Behavior")>
Public Property ShowSearchItem As Boolean

Property Value

TypeDescription
Boolean

true, to display the search box; otherwise, false.

|

Remarks

The search box allows users to search for bar items by their caption or custom keywords.

Refer to the following help topic for more information: Search Menu.

Note

In an MDI application, a child form’s search box is not added to the parent form when ribbons are merged. You should display the search box on the parent and child forms individually.

See Also

Search Menu

CustomizeSearchMenu

SearchTags

VisibleInSearchMenu

ShowTouchUISelectorInSearchMenu

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace