Consolonia 11.2.1-alpha-668
This is a prerelease version of Consolonia.
dotnet add package Consolonia --version 11.2.1-alpha-668
NuGet\Install-Package Consolonia -Version 11.2.1-alpha-668
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-668" />
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-668
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Consolonia, 11.2.1-alpha-668"
#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-668&prerelease // Install Consolonia as a Cake Tool #tool nuget:?package=Consolonia&version=11.2.1-alpha-668&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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)
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 | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Consolonia.Core (>= 11.2.1-alpha-668)
- Consolonia.PlatformSupport (>= 11.2.1-alpha-668)
- Consolonia.Themes (>= 11.2.1-alpha-668)
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-668 | 39 | 12/26/2024 |
11.2.1-alpha-664 | 37 | 12/26/2024 |
11.2.1-alpha-661 | 38 | 12/26/2024 |
11.2.1-alpha-652 | 38 | 12/25/2024 |
11.2.1-alpha-648 | 33 | 12/25/2024 |
11.2.1-alpha-646 | 33 | 12/25/2024 |
11.2.1-alpha-631 | 39 | 12/24/2024 |
11.2.1-alpha-626 | 35 | 12/23/2024 |
11.2.1-alpha-614 | 31 | 12/23/2024 |
11.2.1-alpha-606 | 156 | 12/21/2024 |
11.2.1-alpha-604 | 37 | 12/20/2024 |
11.2.1-alpha-598 | 36 | 12/19/2024 |
11.2.1-alpha-595 | 46 | 12/17/2024 |
11.2.1-alpha-593 | 35 | 12/17/2024 |
11.2.1-alpha-579 | 49 | 12/15/2024 |
11.2.1-alpha-577 | 41 | 12/15/2024 |
11.2.1-alpha-574 | 40 | 12/15/2024 |
11.2.1-alpha-568 | 39 | 12/15/2024 |
11.2.1-alpha-559 | 43 | 12/14/2024 |
11.2.1-alpha-547 | 47 | 12/13/2024 |
11.2.1-alpha-545 | 37 | 12/13/2024 |
11.2.1-alpha-540 | 38 | 12/13/2024 |
11.2.1-alpha-538 | 41 | 12/13/2024 |
11.2.1-alpha-523 | 49 | 12/8/2024 |
11.2.1-alpha-517 | 46 | 12/8/2024 |