BlazorTUI 0.7.0

dotnet add package BlazorTUI --version 0.7.0                
NuGet\Install-Package BlazorTUI -Version 0.7.0                
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="BlazorTUI" Version="0.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlazorTUI --version 0.7.0                
#r "nuget: BlazorTUI, 0.7.0"                
#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 BlazorTUI as a Cake Addin
#addin nuget:?package=BlazorTUI&version=0.7.0

// Install BlazorTUI as a Cake Tool
#tool nuget:?package=BlazorTUI&version=0.7.0                

BlazorTUI

Blazor Server Text User Interface

Sample

Nuget

Avaliable controls:

  • Button
  • CheckBox
  • ColorPicker
  • DateBox
  • Dialog
  • Frame
  • GridView
  • Label
  • ListBox
  • MenuBar
  • MessageBox
  • NumericBox
  • ProgressBar
  • RadioButton
  • Spinner
  • TextArea
  • TextBox
  • TimeBox

You can use Tab key to go to next control, Shift+Tab keys to go to previous control, Space to select and cursors keys.

Basic instructions

First create a screen, this must have double width than height

Screen screen = new Screen(80, 40);

On the razor page declare screen tag

<BlazorTUI.BlazorTUI screen=@screen></BlazorTUI.BlazorTUI>

Then create a top container and assign to the screen

Frame frm1 = new Frame("frm1", "FRAME", 13, 4, 56, 29, Frame.BorderStyle.solid, System.Drawing.Color.Cornsilk, System.Drawing.Color.RebeccaPurple);
screen.topContainer.AddContainer(frm1);

Now we can add some containers

Frame frm2 = new Frame("frm2", "CHILD FRAME", 3, 3, 43, 12, Frame.BorderStyle.line, System.Drawing.Color.Yellow, System.Drawing.Color.Green);
frm1.AddContainer(frm2);

And inside every container we can add controls

Label lblName = new Label("lblName", "Name:", 2, 2, 15, System.Drawing.Color.Yellow, System.Drawing.Color.Green);
frm2.AddControl(lblName);
TextBox txtName = new TextBox("txtName", "", 2, 3, 15, System.Drawing.Color.Yellow, System.Drawing.Color.Black);
frm2.AddControl(txtName);
Product 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.0 93 9/2/2024
0.6.11 108 8/27/2024
0.6.10.1 114 8/24/2024
0.6.10 117 8/23/2024
0.6.9.1 106 8/20/2024
0.6.9 115 8/17/2024
0.6.8 114 8/15/2024
0.6.7 119 8/14/2024
0.6.6 128 8/13/2024
0.6.5 109 8/13/2024
0.6.4 112 8/13/2024
0.6.3 99 8/12/2024
0.6.2 108 8/12/2024
0.6.1 107 8/11/2024
0.6.0 96 7/4/2024
0.5.0 105 6/21/2024