Skip to content

Kozlov-AE/Avalonia-QRCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

  • C# 100.0%