# TreeList.ShowFindPanel() Method | WinForms Controls | DevExpress Documentation

# TreeList.ShowFindPanel() Method

Displays the [Find Panel](/WindowsForms/16662/controls-and-libraries/tree-list/visual-elements/find-panel).

**Namespace**: [DevExpress.XtraTreeList](/WindowsForms/DevExpress.XtraTreeList)

        **Assembly**:
        DevExpress.XtraTreeList.v26.1.dll

## Declaration

- C#
- VB.NET

                        <section id="tabpanel_syntax_tabid_DevExpress.XtraTreeList.TreeList.ShowFindPanel-csharp" role="tabpanel" data-tab="tabid-csharp" class="tab-group__tab-content tab-group__tab-content--code" style="display: block">
                            <pre><code class="lang-csharp hljs">public void ShowFindPanel()</code></pre>
                        </section>
                        <section id="tabpanel_syntax_tabid_DevExpress.XtraTreeList.TreeList.ShowFindPanel-vb" role="tabpanel" data-tab="tabid-vb" class="tab-group__tab-content tab-group__tab-content--code" style="display: none">
                            <pre><code class="lang-vb hljs">Public Sub ShowFindPanel</code></pre>
                        </section>

## Remarks

The `ShowFindPanel` method invokes and focuses the Find Panel. Call the [TreeList.HideFindPanel](/WindowsForms/DevExpress.XtraTreeList.TreeList.HideFindPanel) method to hide the Find Panel.

![Tree List FindPanel](/WindowsForms/images/xtratreelist-findpanel18461.png)

Use the [TreeList.OptionsFind](/WindowsForms/DevExpress.XtraTreeList.TreeList.OptionsFind) property to access options that specify panel visibility, behavior (search or filter), operation button visibility, etc.

The [TreeList.FindFilterText](/WindowsForms/DevExpress.XtraTreeList.TreeList.FindFilterText) property specifies the query in the edit box. To apply a query in code, use the [TreeList.ApplyFindFilter](/WindowsForms/DevExpress.XtraTreeList.TreeList.ApplyFindFilter%28System.String%29) method.

See the following help topic for more information: [Find Panel](/WindowsForms/16662/controls-and-libraries/tree-list/visual-elements/find-panel).

## Example

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

- C#
- VB.NET

<section id="tabpanel_xHP2QDHRy9_tabid-csharp" role="tabpanel" data-tab="tabid-csharp">
<pre><code class="lang-csharp">Load += Form1_Load;

void Form1_Load(object sender, EventArgs e) {
    treeList1.BeginInvoke(new Action(treeList1.ShowFindPanel));
}
</code></pre></section>
<section id="tabpanel_xHP2QDHRy9_tabid-vb" role="tabpanel" data-tab="tabid-vb" aria-hidden="true" hidden="hidden">
<pre><code class="lang-vb">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
</code></pre></section>

See Also

[OptionsFind](/WindowsForms/DevExpress.XtraTreeList.TreeList.OptionsFind)

[HideFindPanel()](/WindowsForms/DevExpress.XtraTreeList.TreeList.HideFindPanel)

[FindFilterText](/WindowsForms/DevExpress.XtraTreeList.TreeList.FindFilterText)

[Find Panel](/WindowsForms/16662/controls-and-libraries/tree-list/visual-elements/find-panel)

[TreeList Class](/WindowsForms/DevExpress.XtraTreeList.TreeList)

[TreeList Members](/WindowsForms/DevExpress.XtraTreeList.TreeList._members)

[DevExpress.XtraTreeList Namespace](/WindowsForms/DevExpress.XtraTreeList)