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

QRCode

Class

Represents a QR Code symbology implementation for barcode generation.

Definition

Namespace:Telerik.Maui.Controls.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public sealed class QRCode : SymbologyBase

Inheritance: objectSymbologyBaseQRCode

Inherited Members SymbologyBase.AutoChecksumPropertySymbologyBase.ModulePropertySymbologyBase.SizingModePropertySymbologyBase.AutoChecksumSymbologyBase.ModuleSymbologyBase.SizingMode...

Constructors

C#
public QRCode()

Fields

Identifies the ApplicationIndicator property.

C#
public static readonly BindableProperty ApplicationIndicatorProperty

CodeModeProperty

BindableProperty

Identifies the CodeMode property.

C#
public static readonly BindableProperty CodeModeProperty

ECIModeProperty

BindableProperty

Identifies the ECIMode property.

C#
public static readonly BindableProperty ECIModeProperty

Identifies the ErrorCorrectionLevel property.

C#
public static readonly BindableProperty ErrorCorrectionLevelProperty

FNC1ModeProperty

BindableProperty

Identifies the FNC1Mode property.

C#
public static readonly BindableProperty FNC1ModeProperty

VersionProperty

BindableProperty

Identifies the Version property.

C#
public static readonly BindableProperty VersionProperty

Properties

Gets or sets the application indentifier to be encoded in the QR code.

C#
public string ApplicationIndicator { get; set; }
Property Value:

The application identifier string.

Gets or sets the type of code that will be used for encoding, such as Numeric, Alphanumeric, Byte or Kanji.

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

The CodeMode used for encoding the data.

Gets or sets the Extended Channel Interpretation (ECI) mode, which allows for encoding of characters from other sets.

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

The ECIMode for character encoding.

Gets or sets how much data will be available for error correction.

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

The ErrorCorrectionLevel for the QR code.

Gets or sets application of special formatting to the code data.

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

The FNC1Mode for special formatting.

Gets or sets the version of the QR code. The version determines the size of the QR code and the amount of information that can be encoded. Accepted values are in the range [1..40]. If you set the version to a number outside this range, version will be calculated automatically.

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

The version number of the QR code, ranging from 1 to 40.

Methods

Called when a property of the internal symbology changes.

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

The name of the property that changed.

Overrides: SymbologyBase.OnInternalSymbologyPropertyChanged(string)

Called when a property of the QR code symbology changes.

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

The name of the property that changed.

Overrides: SymbologyBase.OnSymbologyPropertyChanged(string)