OnBarcodeDeleted Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Raises the BarcodeDeleted event.
Syntax
protected virtual void OnBarcodeDeleted(BarcodeEventArgs e);Protected Overridable Sub OnBarcodeDeleted(e As BarcodeEventArgs)Parameters
| Parameter | Description |
|---|---|
| e | Specifies an BarcodeEventArgs object that contains the event data. |
Examples
The following example extends Server Text Control and performs custom processing when On Barcode Deleted is invoked.
class CustomServerTextControl : ServerTextControl
{
protected override void OnBarcodeDeleted(TXTextControl.DataVisualization.BarcodeEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnBarcodeDeleted(e);
}
}Class CustomServerTextControl
Inherits ServerTextControl
Protected Overrides Sub OnBarcodeDeleted(e As TXTextControl.DataVisualization.BarcodeEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnBarcodeDeleted(e)
End Sub
End Class