JamSoft.AvaloniaUI.Lcd
1.0.2
See the version list below for details.
dotnet add package JamSoft.AvaloniaUI.Lcd --version 1.0.2
NuGet\Install-Package JamSoft.AvaloniaUI.Lcd -Version 1.0.2
<PackageReference Include="JamSoft.AvaloniaUI.Lcd" Version="1.0.2" />
paket add JamSoft.AvaloniaUI.Lcd --version 1.0.2
#r "nuget: JamSoft.AvaloniaUI.Lcd, 1.0.2"
// Install JamSoft.AvaloniaUI.Lcd as a Cake Addin #addin nuget:?package=JamSoft.AvaloniaUI.Lcd&version=1.0.2 // Install JamSoft.AvaloniaUI.Lcd as a Cake Tool #tool nuget:?package=JamSoft.AvaloniaUI.Lcd&version=1.0.2
Introduction
This is a control providing a form of digital LCD segment display for use within a .NET AvaloniaUI applications.
How to use the control
Installation
dotnet add package JamSoft.AvaloniaUI.Lcd --version 1.0.2
Install-Package JamSoft.AvaloniaUI.Lcd -Version 1.0.2
<PackageReference Include="JamSoft.AvaloniaUI.Lcd" Version="1.0.2" />
paket add JamSoft.AvaloniaUI.Lcd --version 1.0.2
Import Styles
<Application.Styles>
<FluentTheme Mode="Dark"/>
<StyleInclude Source="avares://JamSoft.AvaloniaUI.Lcd/Themes/Default.axaml"/>
</Application.Styles>
BASIC
<lcd:LcdLabel Text="Default" />
COLOR THEMES
We're defining a basic default LCD label, nothing fancy.
<lcd:LcdLabel Text="Default Purple"
NumberOfCharactersPerLine="14"
ColorScheme="Purple"/>
Here we define a few of the available properties, We're increased the number of character from 10 (the default) to 14. And we have also specified the Purple color scheme.
ColorScheme Options
Default
, Red
, Green
, Blue
, Purple
MULTI LINE
<lcd:LcdLabel Text="Multi-line" NumberOfTextLines="2" NumberOfCharactersPerLine="5" />
Here we have configured the LCD control to have two lines of text, each with 5 characters.
DIFFERENT SIZE
<lcd:LcdLabel Text="{Binding Greeting}"
DotMatrix="Dos5X7"
NumberOfCharactersPerLine="24"
LineSpacing="10"
BorderSpace="10"
PixelSize="Pix4X4" />
Here we have a large LCD display.
Text
is data-bound to the view modelsGreeting
propertyDotMatrix
is set toDos5X7
(defaultMat5X7
)NumberOfCharactersPerLine
is set to24
(default10
)LineSpacing
is set to10
(default2
)BorderSpace
is set to10
(default3
)PixelSize
is set toPix4X4
(defaultPix2X2
)
DotMatrix Options
Mat5X7
, Mat5X8
, Mat7X9
, Mat9X12
, Hitachi
, Hitachi2
, Dos5X7
PixelSize Options
Pix1X1
, Pix2X2
, Pix3X3
, Pix4X4
, Pix5X5
, Pix6X6
, Pix7X7
, Pix8X8
, Pix9X9
, Pix10X10
, Pix11X11
, Pix12X12
, Pix13X13
, Pix14X14
, Pix15X15
, Pix16X16
, Custom
Custom Pixel Size
<lcd:LcdLabel Text="Custom Pixels" NumberOfCharactersPerLine="13" PixelSize="PixCustom" PixelHeight="2" PixelWidth="8" />
Properties
ColorScheme
PixelSize
DotMatrix
PixelSpacing
CharacterSpacing
LineSpacing
BorderSpace
NumberOfTextLines
NumberOfCharactersPerLine
PixelOnColor
PixelOffColor
LcdBackgroundColor
PixelWidth
PixelHeight
Text
HalfIntensity
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.