# TextControl.BarcodeDoubleClicked Event

> Occurs when a barcode has been doubleclicked on. The event handler receives an argument of type BarcodeEventArgs containing data related to this event.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Event
- **Introduced:** 19.0
- **Namespace:** `TXTextControl`
- **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 > TextControl.BarcodeDoubleClicked Event
- **328 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodedoubleclicked-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodedoubleclicked-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodedoubleclicked-event/llms-full.txt

---

### Description

Occurs when a barcode has been doubleclicked on. The event handler receives an argument of type [BarcodeEventArgs](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeeventargs/llms-full.txt) containing data related to this event.

### Syntax

```csharp
public event BarcodeEventHandler BarcodeDoubleClicked;
```

```vbnet
Public Event BarcodeDoubleClicked As BarcodeEventHandler
```

### Examples

The following example records useful context when barcode double clicked occurs.

```csharp
textControl.BarcodeDoubleClicked += (sender, e) =>
{
    Console.WriteLine($"Barcode Double Clicked at {DateTime.Now:u}");
};
```

```vbnet
AddHandler textControl.BarcodeDoubleClicked,
    Sub(sender, e)
        Console.WriteLine($"Barcode Double Clicked at {DateTime.Now:u}")
    End Sub
```

---

## Nearby

- **Previous:** [TextControl.BarcodeDeselected Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodedeselected-event/llms-full.txt)
- **Next:** [TextControl.BarcodeLayoutDialog Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodelayoutdialog-method/llms-full.txt)
