VariableBox.Avalonia
0.0.5-beta20240803
dotnet add package VariableBox.Avalonia --version 0.0.5-beta20240803
NuGet\Install-Package VariableBox.Avalonia -Version 0.0.5-beta20240803
<PackageReference Include="VariableBox.Avalonia" Version="0.0.5-beta20240803" />
paket add VariableBox.Avalonia --version 0.0.5-beta20240803
#r "nuget: VariableBox.Avalonia, 0.0.5-beta20240803"
// Install VariableBox.Avalonia as a Cake Addin #addin nuget:?package=VariableBox.Avalonia&version=0.0.5-beta20240803&prerelease // Install VariableBox.Avalonia as a Cake Tool #tool nuget:?package=VariableBox.Avalonia&version=0.0.5-beta20240803&prerelease
VariableBox
<p align="center"> <img src="./assets/light_demo.png" alt="drawing" width="150" /> </p>
VariableBox is a UI library for building cross-platform UIs with Avalonia UI.
Feature
NumericalUpDown
- all numerical type support
- spinning updown support
- get (read) /set (write) support
- rich formatting support like
hex
,dec
andbin
- drag support, you can use mouse to drag
- mouse scroll support
- shortcut and arrow key support
- <kbd>Esc</kbd> for cancel editing
- <kbd>Enter</kbd> for trigger
- <kbd>up</kbd> for increase
- <kbd>down</kbd> for decrease
- <kbd>alt+left</kbd> for read
- <kbd>alt+right</kbd>/<kbd>alt+enter</kbd>for trigger (force) write
- identify support
*
for editing- red <font color=red>*</font> for error input
- green <font color=green>*</font> for right input
EnumerationUpDown
- todo
How to use
VariableBox
Add nuget package:
dotnet add package VariableBox.Avalonia
You can now use Ursa controls in your Avalonia Application.
<Window
...
xmlns:v="VariableBox"
...>
<StackPanel Margin="20">
<v:VariableBoxUInt Value="{Binding Value}"
FormatString="X8"
HeaderContent="0x"
ParsingNumberStyle="AllowHexSpecifier"
Step="2"
IsEnableEditingIndicator="True"
/>
</StackPanel>
</Window>
VariableBox.Avalonia.Themes.Semi
To make Ursa controls show up in your application, you need to reference to a theme package designed for VariableBox.
VariableBox.Avalonia.Themes.Semi
is a theme package for Ursa inspired by Semi Design.you need to
add package Semi.Avalonia
fristalso
VariableBox.Avalonia.Themes.Semi
is compatible with<SimpleTheme/>
VariableBox.Avalonia.Themes.Semi
is NOT compatible with<FluentTheme/>
You can add it to your project by following steps.
- Add nuget package:
dotnet add package Semi.Avalonia
dotnet add package VariableBox.Avalonia.Themes.Semi
- Include Styles in application:
<Application...
xmlns:v-semi="using:VariableBox.Avalonia.Themes.Semi"
....>
<Application.Styles>
<SimpleTheme/>
<StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" />
<v-semi:SemiTheme Locale="zh-CN"/>
</Application.Styles>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Avalonia (>= 11.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on VariableBox.Avalonia:
Package | Downloads |
---|---|
VariableBox.Avalonia.Themes.Semi
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
0.0.5-beta20240803 | 151 | 8/3/2024 | |
0.0.4-beta20240604 | 94 | 6/4/2024 | |
0.0.3-beta202404081 | 117 | 4/8/2024 | |
0.0.3-beta20240408 | 75 | 4/7/2024 | |
0.0.3-beta20240407 | 73 | 4/7/2024 | |
0.0.2-beta20240407 | 71 | 4/7/2024 | |
0.0.1-beta20240406 | 76 | 4/6/2024 | |
0.0.1-beta20240404 | 72 | 4/3/2024 |