Consolonia 11.2.1-alpha-770

This is a prerelease version of Consolonia.
dotnet add package Consolonia --version 11.2.1-alpha-770                
NuGet\Install-Package Consolonia -Version 11.2.1-alpha-770                
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-770" />                
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-770                
#r "nuget: Consolonia, 11.2.1-alpha-770"                
#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-770&prerelease

// Install Consolonia as a Cake Tool
#tool nuget:?package=Consolonia&version=11.2.1-alpha-770&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.1-alpha-770 0 1/15/2025
11.2.1-alpha-764 2 1/15/2025
11.2.1-alpha-756 1 1/14/2025
11.2.1-alpha-748 44 1/10/2025
11.2.1-alpha-713 41 1/6/2025
11.2.1-alpha-711 73 1/4/2025
11.2.1-alpha-709 65 1/4/2025
11.2.1-alpha-701 69 1/4/2025
11.2.1-alpha-698 68 1/3/2025
11.2.1-alpha-678 69 1/1/2025
11.2.1-alpha-668 46 12/26/2024
11.2.1-alpha-664 42 12/26/2024
11.2.1-alpha-661 43 12/26/2024
11.2.1-alpha-652 43 12/25/2024
11.2.1-alpha-648 38 12/25/2024
11.2.1-alpha-646 38 12/25/2024
11.2.1-alpha-631 44 12/24/2024
11.2.1-alpha-626 40 12/23/2024
11.2.1-alpha-614 36 12/23/2024
11.2.1-alpha-606 315 12/21/2024
11.2.1-alpha-604 42 12/20/2024
11.2.1-alpha-598 44 12/19/2024
11.2.1-alpha-595 53 12/17/2024
11.2.1-alpha-593 40 12/17/2024
11.2.1-alpha-579 54 12/15/2024
11.2.1-alpha-577 46 12/15/2024
11.2.1-alpha-574 45 12/15/2024
11.2.1-alpha-568 44 12/15/2024
11.2.1-alpha-559 48 12/14/2024
11.2.1-alpha-547 52 12/13/2024
11.2.1-alpha-545 41 12/13/2024
11.2.1-alpha-540 42 12/13/2024
11.2.1-alpha-538 47 12/13/2024
11.2.1-alpha-523 51 12/8/2024
11.2.1-alpha-517 50 12/8/2024