Skip to main content

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

TreeList.ShowFindPanel() Method

Displays the Find Panel.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public void ShowFindPanel()

#Remarks

The ShowFindPanel method invokes and focuses the Find Panel. Call the TreeList.HideFindPanel method to hide the Find Panel.

Tree List FindPanel

Use the TreeList.OptionsFind property to access options that specify panel visibility, behavior (search or filter), operation button visibility, etc.

The TreeList.FindFilterText property specifies the query in the edit box. To apply a query in code, use the TreeList.ApplyFindFilter method.

See the following help topic for more information: Find Panel.

#Example

To open and focus the panel when the control is displayed for the first time, call the ShowFindPanel() method asynchronously.

Load += Form1_Load;

void Form1_Load(object sender, EventArgs e) {
    treeList1.BeginInvoke(new Action(treeList1.ShowFindPanel));
}
See Also