Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2.5 KB

File metadata and controls

42 lines (31 loc) · 2.5 KB

WPF BarCode Editor - Create a QR Code Generator

This example uses the WPF BarCodeEdit control to generate a QR code based on user input.

WPF BarCodeEdit, DevExpress

Implementation Details

The BarCodeEdit control can display 27 types of barcodes. Use the BarCodeEdit.StyleSettings property to specify the barcode type.

The Barcode editor's EditValue is bound to the Text property of the text box to automatically generate a QR code as the user types:

<dxe:BarCodeEdit Grid.Row="0" AutoModule="True"
                    ShowText="False"
                    EditValue="{Binding Path=Text,ElementName=textBox}" >
    <dxe:BarCodeEdit.StyleSettings>
        <dxe:QRCodeStyleSettings CompactionMode="Byte" />
    </dxe:BarCodeEdit.StyleSettings>
</dxe:BarCodeEdit>
<TextBox Grid.Row="1" Name="textBox">
    DevExpress
</TextBox>

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)