AndroThink.Barcode.WPF
1.0.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AndroThink.Barcode.WPF --version 1.0.4
NuGet\Install-Package AndroThink.Barcode.WPF -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AndroThink.Barcode.WPF" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AndroThink.Barcode.WPF --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AndroThink.Barcode.WPF, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AndroThink.Barcode.WPF as a Cake Addin #addin nuget:?package=AndroThink.Barcode.WPF&version=1.0.4 // Install AndroThink.Barcode.WPF as a Cake Tool #tool nuget:?package=AndroThink.Barcode.WPF&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WPFBarCode 
Help in dealing with the barcode readers in your wpf application
How to use
In Your Control
var BarCodeReader = BarCoder.BarCodeReader.GetDefaultReader()
.WithPrefix(System.Windows.Input.Key.F12) // Configuration for the reader device for the prefix key
.WithSuffix(System.Windows.Input.Key.Enter) // Configuration for the reader device for the suffix key
// To listen on specific input element
.WithUIElement(this, false, (result) =>
{
string code = result.Barcode;
})
// To notify the control using an event
.WithEvent(viewModel.DocumentId, viewModel.DocumentId.ToString(), new BarCoder.BaseBarCodeEvent((result) =>
{
string code = result.Barcode;
viewModel.OnBarcodeCallBack?.Invoke(code);
})).NotifyOnlyActiveEvent() // if you want to notify the ui using only the event you register
.SetCurrentActiveEvent(viewModel.DocumentId); // determin the current active window/page by setting a unique identifier for it this id will be with the event result
BarCodeReader.StartListen(); // start listen
....
BarCodeReader.StopListen(); // stop listen
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.