TX Text Control .NET for Windows Forms

BarcodeFrame Property

Property|Introduced in 19.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets an object that represents the barcode which causes the event. It is of the type DataVisualization.BarcodeFrame.

Syntax

public BarcodeFrame BarcodeFrame { get; }

Examples

The following example uses BarcodeEventArgs.BarcodeFrame while handling BarcodeClicked.

textControl.BarcodeClicked += (_, e) =>
{
    if (e.BarcodeFrame != null)
    {
        e.BarcodeFrame.DescriptiveText = "Quarterly sales by region";
    }
};

Limitations

Read only.