New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides a base class for barcode symbology implementations.

Definition

Namespace:Telerik.Maui.Controls.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class SymbologyBase : BindableObject

Inheritance: objectSymbologyBase

Derived Classes: DataMatrixPDF417QRCodeSwissQRCodeSymbology1DBase

Constructors

C#
protected SymbologyBase()

Fields

AutoChecksumProperty

BindableProperty

Identifies the AutoChecksum property.

C#
public static readonly BindableProperty AutoChecksumProperty

ModuleProperty

BindableProperty

Identifies the Module property.

C#
public static readonly BindableProperty ModuleProperty

SizingModeProperty

BindableProperty

Identifies the SizingMode property.

C#
public static readonly BindableProperty SizingModeProperty

Properties

Gets or sets whether the barcode should automatically calculate a checksum.

C#
public bool AutoChecksum { get; set; }
Property Value:

true if the barcode should automatically calculate a checksum; otherwise, false.

Gets or sets a module by which the barcode can be scaled up.

C#
public int Module { get; set; }
Property Value:

The module value for scaling the barcode.

Gets or sets whether the bars of the barcode should be stretched to fill the space available.

C#
public SizingMode SizingMode { get; set; }
Property Value:

The SizingMode that determines how the barcode is sized.

Methods

Called when a property of the internal symbology changes.

C#
protected virtual void OnInternalSymbologyPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Called when a property of the symbology changes.

C#
protected virtual void OnSymbologyPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.