Skip to content

MikeCodesDotNET/Avalonia-QRCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A QRCode control for Avalonia

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages