Class
SymbologyBase

Provides a base class for barcode symbology implementations.

Definition

Namespace:Telerik.Maui.Controls.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class SymbologyBase : BindableObject

Inheritance: objectSymbologyBase

Derived Classes: DataMatrixPDF417QRCodeSwissQRCodeSymbology1DBase

Constructors

SymbologyBase()

Declaration

cs-api-definition
protected SymbologyBase()

Fields

AutoChecksumProperty

Identifies the AutoChecksum property.

Declaration

cs-api-definition
public static readonly BindableProperty AutoChecksumProperty

Field Value

BindableProperty

ModuleProperty

Identifies the Module property.

Declaration

cs-api-definition
public static readonly BindableProperty ModuleProperty

Field Value

BindableProperty

SizingModeProperty

Identifies the SizingMode property.

Declaration

cs-api-definition
public static readonly BindableProperty SizingModeProperty

Field Value

BindableProperty

Properties

AutoChecksum

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

Declaration

cs-api-definition
public bool AutoChecksum { get; set; }

Property Value

bool

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

Module

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

Declaration

cs-api-definition
public int Module { get; set; }

Property Value

int

The module value for scaling the barcode.

SizingMode

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

Declaration

cs-api-definition
public SizingMode SizingMode { get; set; }

Property Value

SizingMode

The SizingMode that determines how the barcode is sized.

Methods

OnInternalSymbologyPropertyChanged(string)

Called when a property of the internal symbology changes.

Declaration

cs-api-definition
protected virtual void OnInternalSymbologyPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

OnSymbologyPropertyChanged(string)

Called when a property of the symbology changes.

Declaration

cs-api-definition
protected virtual void OnSymbologyPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.