VariableBox.Avalonia 0.0.3-beta202404081

This is a prerelease version of VariableBox.Avalonia.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package VariableBox.Avalonia --version 0.0.3-beta202404081                
NuGet\Install-Package VariableBox.Avalonia -Version 0.0.3-beta202404081                
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="VariableBox.Avalonia" Version="0.0.3-beta202404081" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VariableBox.Avalonia --version 0.0.3-beta202404081                
#r "nuget: VariableBox.Avalonia, 0.0.3-beta202404081"                
#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 VariableBox.Avalonia as a Cake Addin
#addin nuget:?package=VariableBox.Avalonia&version=0.0.3-beta202404081&prerelease

// Install VariableBox.Avalonia as a Cake Tool
#tool nuget:?package=VariableBox.Avalonia&version=0.0.3-beta202404081&prerelease                

VariableBox

GitHub stars GitHub release Nuget Nuget Nuget Nuget

<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.

Demo

Feature

NumericalUpDown

  • all numerical type support
  • spinning updown support
  • get (read) /set (write) support
  • rich formatting support like hex, dec and bin
  • 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">
        <u: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 frist

  • also 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.

  1. Add nuget package:
dotnet add package Semi.Avalonia
dotnet add package VariableBox.Avalonia.Themes.Semi
  1. 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 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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.