windowsforms-devexpress-dot-xtratreelist-dot-treelist-fc21a77a.md
Displays the Find Panel.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public void ShowFindPanel()
Public Sub ShowFindPanel
The ShowFindPanel method invokes and focuses the Find Panel. Call the TreeList.HideFindPanel method to hide the Find Panel.
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.
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));
}
Private Load += AddressOf Form1_Load
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
treeList1.BeginInvoke(New Action(AddressOf treeList1.ShowFindPanel))
End Sub
See Also