Skip to main content

ToolboxControl.Search(String) Method

Filters the ToolboxControl items according to the specified search request.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Search(
    string text
)

Parameters

Name Type Description
text String

A String value that specifies the search request.

Remarks

If the ToolboxOptionsView.ShowSearchPanel property (accessible through the ToolboxControl.OptionsView settings) is set to true, the ToolboxControl displays the search box that allows an end-user to enter a search request. When the request is entered, the ToolboxControl filters its items accordingly. In the figure below, items are filtered according to the “3-D” search request.

ToolboxControl_Search

The Search method allows you to filter the ToolboxControl items in code according to the search request specified using the text parameter.

toolboxControl1.Search("3-D");

When using the Search method, items are filtered even if the ToolboxOptionsView.ShowSearchPanel setting is disabled and the search box is hidden.

See Also