Winui Barcode Example (How To Add Barcode Control In Winui Application)

Sample date Updated on Feb 15, 2024
barcode barcode-generator barcode-scanner codabar code11 code128a code128b code128c code32 code39 code39extended code93 code93extended datamatrix datamatrix-generator qrcode qrcode-generator upc winui winui3

This repository contains sample for how to add the Syncfusion WinUI Barcode control in WinUI application. The WinUI Barcode control helps you to generate and display data in a machine-readable format. It provides a perfect approach for encoding text using the supported barcode types.

Syncfuion controls

This project used the following Syncfusion control(s):

Requirements to run the sample

Refer to the following link for more details - System Requirements

How to run the sample

  1. Clone the sample and open it in Visual Studio.

Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.

  1. Register your license key in the App.cs file as demonstrated in the following code.
    public App()

    {

        //Register Syncfusion license

        Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");



        InitializeComponent();



        MainPage = new NavigationPage(new MainPage());

    }

Refer to this link for more details.

  1. Clean and build the application.
  1. Run the application.

License

Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.

Up arrow