OnBarcodeRightClicked Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Raises the BarcodeRightClicked event.
Syntax
protected virtual void OnBarcodeRightClicked(BarcodeEventArgs e);Protected Overridable Sub OnBarcodeRightClicked(e As BarcodeEventArgs)Parameters
| Parameter | Description |
|---|---|
| e | Specifies a BarcodeEventArgs object that contains the event data. |
Examples
The following example extends Text Control and performs custom processing when On Barcode Right Clicked is invoked.
class CustomTextControl : TextControl
{
protected override void OnBarcodeRightClicked(TXTextControl.DataVisualization.BarcodeEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnBarcodeRightClicked(e);
}
}Class CustomTextControl
Inherits TextControl
Protected Overrides Sub OnBarcodeRightClicked(e As TXTextControl.DataVisualization.BarcodeEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnBarcodeRightClicked(e)
End Sub
End Class