Consolonia 11.2.1-alpha-646

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-646
                    
NuGet\Install-Package Consolonia -Version 11.2.1-alpha-646
                    
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-646" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Consolonia" Version="11.2.1-alpha-646" />
                    
Directory.Packages.props
<PackageReference Include="Consolonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Consolonia --version 11.2.1-alpha-646
                    
#r "nuget: Consolonia, 11.2.1-alpha-646"
                    
#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.
#addin nuget:?package=Consolonia&version=11.2.1-alpha-646&prerelease
                    
Install Consolonia as a Cake Addin
#tool nuget:?package=Consolonia&version=11.2.1-alpha-646&prerelease
                    
Install Consolonia as a Cake Tool

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.5-beta.1065 145 4/8/2025
11.2.5-beta.1050 131 3/28/2025
11.2.5-beta.1047 98 3/27/2025
11.2.5-beta.1044 104 3/27/2025
11.2.5-beta.1026 158 3/23/2025
11.2.5-beta.1023 129 3/22/2025
11.2.5-beta.1018 122 3/22/2025
11.2.5-beta.1016 123 3/22/2025
11.2.5-beta.1008 58 3/22/2025
11.2.5-beta.1004 50 3/21/2025
11.2.5-beta.988 75 3/15/2025
11.2.5-beta.965 146 3/1/2025
11.2.5-beta.959 69 2/28/2025
11.2.3-beta.954 76 2/27/2025
11.2.3-beta.946 93 2/24/2025
11.2.3-beta.936 115 2/7/2025
11.2.3-beta.920 86 2/6/2025
11.2.3-beta.906 95 2/2/2025
11.2.3-beta.902 83 2/1/2025
11.2.3-beta.887 93 1/27/2025
11.2.3-beta.883 55 1/27/2025
11.2.3-beta.876 87 1/26/2025
11.2.3-beta.874 60 1/26/2025
11.2.3-beta.866 73 1/24/2025
11.2.3-beta.862 52 1/24/2025
11.2.3-beta.860 59 1/23/2025
11.2.3-beta.849 89 1/23/2025
11.2.3-beta.845 55 1/23/2025
11.2.3-beta.841 64 1/22/2025
11.2.3-beta.838 70 1/20/2025
11.2.3-beta.826 78 1/19/2025
11.2.3-beta.819 60 1/18/2025
11.2.3-beta.802 79 1/17/2025
11.2.3-beta.798 50 1/17/2025
11.2.3-beta.793 44 1/17/2025
11.2.3-beta.789 54 1/17/2025
11.2.3-beta.784 51 1/16/2025
11.2.1-alpha-782 46 1/16/2025
11.2.1-alpha-770 44 1/15/2025
11.2.1-alpha-764 25 1/15/2025
11.2.1-alpha-756 37 1/14/2025
11.2.1-alpha-748 133 1/10/2025
11.2.1-alpha-713 62 1/6/2025
11.2.1-alpha-711 87 1/4/2025
11.2.1-alpha-709 78 1/4/2025
11.2.1-alpha-701 82 1/4/2025
11.2.1-alpha-698 81 1/3/2025
11.2.1-alpha-678 84 1/1/2025
11.2.1-alpha-668 58 12/26/2024
11.2.1-alpha-664 54 12/26/2024
11.2.1-alpha-661 55 12/26/2024
11.2.1-alpha-652 60 12/25/2024
11.2.1-alpha-648 56 12/25/2024
11.2.1-alpha-646 56 12/25/2024
11.2.1-alpha-631 57 12/24/2024
11.2.1-alpha-626 55 12/23/2024
11.2.1-alpha-614 53 12/23/2024
11.2.1-alpha-606 360 12/21/2024
11.2.1-alpha-604 58 12/20/2024
11.2.1-alpha-598 57 12/19/2024
11.2.1-alpha-595 67 12/17/2024
11.2.1-alpha-593 53 12/17/2024
11.2.1-alpha-579 70 12/15/2024
11.2.1-alpha-577 63 12/15/2024
11.2.1-alpha-574 62 12/15/2024
11.2.1-alpha-568 61 12/15/2024
11.2.1-alpha-559 67 12/14/2024
11.2.1-alpha-547 70 12/13/2024
11.2.1-alpha-545 59 12/13/2024
11.2.1-alpha-540 58 12/13/2024
11.2.1-alpha-538 64 12/13/2024
11.2.1-alpha-523 65 12/8/2024
11.2.1-alpha-517 111 12/8/2024