BarCodePropertyProvider.Version Property
Gets or sets the barcode’s size. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
[ValueSerializer(typeof(XamlEnumSerializer<QRCodeVersion>))]
public QRCodeVersion Version { get; set; }
Property Value
Type | Description |
---|---|
QRCodeVersion | A QRCodeVersion enumeration value. The default is QRCodeVersion.AutoVersion. |
Available values:
Name | Description |
---|---|
AutoVersion | The version is auto-calculated. |
Version1 | 21x21 |
Version2 | 25x25 |
Version3 | 29x29 |
Version4 | 33x33 |
Version5 | 37x37 |
Version6 | 41x41 |
Version7 | 45x45 |
Version8 | 49x49 |
Version9 | 53x53 |
Version10 | 57x57 |
Version11 | 61x61 |
Version12 | 65x65 |
Version13 | 69x69 |
Version14 | 73x73 |
Version15 | 77x77 |
Version16 | 81x81 |
Version17 | 85x85 |
Version18 | 89x89 |
Version19 | 93x93 |
Version20 | 97x97 |
Version21 | 101x101 |
Version22 | 105x105 |
Version23 | 109x109 |
Version24 | 113x113 |
Version25 | 117x117 |
Version26 | 121x121 |
Version27 | 125x125 |
Version28 | 129x129 |
Version29 | 133x133 |
Version30 | 137x137 |
Version31 | 141x141 |
Version32 | 145x145 |
Version33 | 149x149 |
Version34 | 153x153 |
Version35 | 157x157 |
Version36 | 161x161 |
Version37 | 165x165 |
Version38 | 169x169 |
Version39 | 177x177 |
Version40 | 177x177 |
Remarks
The Version property value defines the size of a barcode’s side using the following formula: 17 + 4 * Version.
The product of the BarCodeEdit.Module property value and this formula result defines the barcode’s dimensions in pixels.