Skip to content

[Skia desktop / other platforms] Add a Barcode XAML element to UNO #1469

@booskander

Description

@booskander

What would you like to be added? 💡

Syncfusion was looking for a XAML element of a barcode, the one they are using only works with native windows apps and is not supported with a Skia head, I have implemented a workaround solution using ZXing.NET library which is available at https://www.nuget.org/packages/zxing.Net/ and works pretty consistently with dotnet apps. If we could create our own UI element based on that it would be great!

example of output would be something like this:

Image

I simply populate an element with the barcode using SKBitmap.Bytes and assign it to the image source after component initialization

Why is this needed? 🤔

No response

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

No response

Anything else we need to know? 💬

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementNew feature or request.triage/untriagedIndicates an issue requires triaging or verification.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions