ToolboxControl.Search(String) Method

Filters the ToolboxControl items according to the specified search request.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v20.1.dll


public void Search(
    string text
Public Sub Search(
    text As String


Name Type Description
text String

A String value that specifies the search request.


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.


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


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

See Also