# RibbonListView.DeactivateEditItemTextBox Method

> Closes the text box that is displayed to edit an item.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 27.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **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.Ribbon > RibbonListView.DeactivateEditItemTextBox Method
- **391 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/deactivateedititemtextbox-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/deactivateedititemtextbox-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/deactivateedititemtextbox-method/llms-full.txt

---

### Description

Closes the text box that is [displayed](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/activateedititemtextbox-method/llms-full.txt) to [edit an item](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/iseditable-property/llms-full.txt).

### Syntax

```csharp
public void DeactivateEditItemTextBox();
```

```vbnet
Public Sub DeactivateEditItemTextBox()
```

### Examples

The following example uses Activate Edit Item Text Box in a focused Ribbon List View workflow. The created object is then available to the surrounding document workflow.

```csharp
ribbonListView.ActivateEditItemTextBox(new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem());
Console.WriteLine("Ribbon List View is ready for use.");
```

```vbnet
ribbonListView.ActivateEditItemTextBox(New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem())
Console.WriteLine("Ribbon List View is ready for use.")
```

---

## Nearby

- **Previous:** [RibbonListView Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/constructor/llms-full.txt)
- **Next:** [RibbonListView.Deselectable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/deselectable-property/llms-full.txt)
