# Sidebar.FindItem Method

> Finds a control inside a predefined content control that has the provided identifier name.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.Windows.Forms`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms > Sidebar.FindItem Method
- **1901 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/finditem-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/finditem-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/finditem-method/llms-full.txt

---

### Description

Finds a control inside a [predefined](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/contentlayout-property/llms-full.txt) [content control](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/content-property/llms-full.txt) that has the provided identifier name.

### Syntax

#### FindItem(Sidebar.ConditionalInstructionsItem)

Finds a control inside a predefined conditional instructions panel that has the [Sidebar.ConditionalInstructionsItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/conditionalinstructionsitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.ConditionalInstructionsItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.ConditionalInstructionsItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.DocumentSettingsItem)

Finds a control inside a predefined document settings panel that has the [Sidebar.DocumentSettingsItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/documentsettingsitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.DocumentSettingsItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.DocumentSettingsItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.FieldNavigatorItem)

Finds a control inside a predefined field navigator that has the [Sidebar.FieldNavigatorItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/fieldnavigatoritem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.FieldNavigatorItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.FieldNavigatorItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.FindAndReplaceItem)

Finds a control inside a predefined find or replace panel that has the [Sidebar.FindAndReplaceItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/findandreplaceitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.FindAndReplaceItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.FindAndReplaceItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.GotoItem)

Finds a control inside a predefined go to panel that has the [Sidebar.GotoItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/gotoitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.GotoItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.GotoItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.StylesItem)

Finds a control inside a predefined go to panel that has the [Sidebar.StylesItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/stylesitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.StylesItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.StylesItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.TrackedChangesItem)

Finds a control inside a predefined tracked changes overview that has the [Sidebar.TrackedChangesItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/trackedchangesitem-enumeration/llms-full.txt) identifier name.

```csharp
public Control FindItem(Sidebar.TrackedChangesItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.TrackedChangesItem) As Control
```

| Parameter | Description |
|---|---|
| item | The name of the requested control represented by a specific enum. |

#### FindItem(Sidebar.AboutItem)

```csharp
public Control FindItem(Sidebar.AboutItem item);
```

```vbnet
Public Function FindItem(item As Sidebar.AboutItem) As Control
```

### Return Value

The requested control if found. Otherwise null.

### Examples

The following example finds a matching item in the sidebar.

```csharp
System.Windows.Forms.Control result = sidebar.FindItem(TXTextControl.Windows.Forms.Sidebar.AboutItem.TXITEM_AboutViewer);
result?.Select();
```

```vbnet
Dim result As System.Windows.Forms.Control = sidebar.FindItem(TXTextControl.Windows.Forms.Sidebar.AboutItem.TXITEM_AboutViewer)
If result IsNot Nothing Then result.Select()
```

---

## Nearby

- **Previous:** [Sidebar.FindAndReplaceItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/findandreplaceitem-enumeration/llms-full.txt)
- **Next:** [Sidebar.GotoItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/gotoitem-enumeration/llms-full.txt)
