Consolonia 11.2.1-alpha-756

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

// Install Consolonia as a Cake Tool
#tool nuget:?package=Consolonia&version=11.2.1-alpha-756&prerelease                

Consolonia

This package is meta package for building Consolonia applications.

Background

Consolonia is a TUI (Text User Interface) (GUI Framework) implementation for Avalonia UI

Supports XAML, data bindings, animation, styling and the rest from Avalonia.

Showcase (click picture to see video)

datagridpic

Usage

Define an application with a theme (See Consolonia.Themes.TurboVision for themes)

Define a Window

HelloWorldWindow.axaml

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="HelloWorldWindow">
    <TextBlock Text="Hello World" />
</Window>

## Define an application 
You need to define an application that defines a theme and sets the main window.

HelloWorldApp.cs
```csharp
// use HelloWorldWindow as the MainWindow for the application
public class HelloWorldApp : ConsoloniaApplication<HelloWorldWindow>
{
    public override void Initialize()
    {
        // set the theme
        Styles.Add(new MaterialTheme());
    }
}

Setup program.cs

Program.cs

[STAThread]
private static void Main(string[] args)
{
    BuildAvaloniaApp()
        .StartWithConsoleLifetime(args);
}

public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<HelloWorldApp>()
        .UseConsolonia()
        .UseAutoDetectedConsole()
        .LogToException();
Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows 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 Consolonia:

Package Downloads
Consolonia.Blazor

Text User Interface implementation of Avalonia UI (GUI Framework)

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Consolonia:

Repository Stars
jinek/Consolonia
A cross-platform UI framework for .NET.
Version Downloads Last updated
11.2.3-beta.887 32 1/27/2025
11.2.3-beta.883 27 1/27/2025
11.2.3-beta.876 61 1/26/2025
11.2.3-beta.874 31 1/26/2025
11.2.3-beta.866 29 1/24/2025
11.2.3-beta.862 3 1/24/2025
11.2.3-beta.860 32 1/23/2025
11.2.3-beta.849 65 1/23/2025
11.2.3-beta.845 27 1/23/2025
11.2.3-beta.841 45 1/22/2025
11.2.3-beta.838 48 1/20/2025
11.2.3-beta.826 63 1/19/2025
11.2.3-beta.819 46 1/18/2025
11.2.3-beta.802 63 1/17/2025
11.2.3-beta.798 35 1/17/2025
11.2.3-beta.793 32 1/17/2025
11.2.3-beta.789 40 1/17/2025
11.2.3-beta.784 33 1/16/2025
11.2.1-alpha-782 32 1/16/2025
11.2.1-alpha-770 30 1/15/2025
11.2.1-alpha-764 14 1/15/2025
11.2.1-alpha-756 7 1/14/2025
11.2.1-alpha-748 92 1/10/2025
11.2.1-alpha-713 47 1/6/2025
11.2.1-alpha-711 75 1/4/2025
11.2.1-alpha-709 67 1/4/2025
11.2.1-alpha-701 71 1/4/2025
11.2.1-alpha-698 70 1/3/2025
11.2.1-alpha-678 71 1/1/2025
11.2.1-alpha-668 48 12/26/2024
11.2.1-alpha-664 44 12/26/2024
11.2.1-alpha-661 45 12/26/2024
11.2.1-alpha-652 45 12/25/2024
11.2.1-alpha-648 40 12/25/2024
11.2.1-alpha-646 40 12/25/2024
11.2.1-alpha-631 46 12/24/2024
11.2.1-alpha-626 42 12/23/2024
11.2.1-alpha-614 38 12/23/2024
11.2.1-alpha-606 317 12/21/2024
11.2.1-alpha-604 44 12/20/2024
11.2.1-alpha-598 46 12/19/2024
11.2.1-alpha-595 57 12/17/2024
11.2.1-alpha-593 42 12/17/2024
11.2.1-alpha-579 56 12/15/2024
11.2.1-alpha-577 48 12/15/2024
11.2.1-alpha-574 47 12/15/2024
11.2.1-alpha-568 46 12/15/2024
11.2.1-alpha-559 50 12/14/2024
11.2.1-alpha-547 54 12/13/2024
11.2.1-alpha-545 43 12/13/2024
11.2.1-alpha-540 44 12/13/2024
11.2.1-alpha-538 49 12/13/2024
11.2.1-alpha-523 53 12/8/2024
11.2.1-alpha-517 99 12/8/2024