Skip to main content

QRCodeSymbology Class

Generates a QRCode bar code. A Quick Response (QR) Code is a two-dimensional code. QR scanners, mobile phones with a camera, and smartphones can read this code.

Namespace: DevExpress.WinUI.Controls

Assembly: DevExpress.WinUI.BarCode.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public class QRCodeSymbology :
    SymbologyBase<QRCodeGenerator>

Remarks

Available Characters

QR Code can encode numeric, alphanumeric, and binary data. The table below shows the available characters for each mode:

Mode

Available Characters

Numeric

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Alphanumeric

0–9, A–Z (upper-case only), space, $, %, *, +, -, ., /, :

Byte/Binary

ISO 8859-1

Use the barcode’s CompactionMode property to specify mode (Numeric, AlphaNumeric, or Byte) that should be used to encode data. Choose mode that corresponds to the characters your data contains.

<Window ...
    xmlns:dxc="using:DevExpress.WinUI.Controls">
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
        <dxc:BarCodeControl Text="24199505" >
            <dxc:BarCodeControl.Symbology>
                <dxc:QRCodeSymbology />
            </dxc:BarCodeControl.Symbology>
        </dxc:BarCodeControl>
    </StackPanel>
</Window>

BarCode - QRCode Symbology

Inheritance

Object
DependencyObject
UIElement
FrameworkElement
SymbologyBase
SymbologyBase<DevExpress.WinUI.Controls.Internal.QRCodeGenerator>
QRCodeSymbology
See Also