Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.17 KB

Avalonia QRCode Control

Icon - of a qr code that points back to here

NuGet version (QRCode.Avalonia)

by Mike James

Using the control

A sample application screenshot.

I've included a sample app to demonstrate the functionality of the control. It's a straightforward control, and thus should be self-explanatory.

Create a QR Code pointing to GitHub

<qr:QRCode Data="https://github.com" />

Change the colors

<qr:QRCode Data="https://github.com" 
           Color="Red" 
           SpaceBrush="Blue" />

Remove the border

<qr:QRCode Data="https://github.com" 
           DrawQuietZones="false" />

Include an icon image

<qr:QRCode Data="https://github.com" 
           Icon="/Assets/yourImage.png" />

QRCoder powers the bitmap generation; you should check it's comprehensive documentation for more information.