Terminal.Gui.Forms 0.1.0

Requires NuGet 2.8.1 or higher.

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

// Install Terminal.Gui.Forms as a Cake Tool
#tool nuget:?package=Terminal.Gui.Forms&version=0.1.0

Xamarin.Forms gui.cs Backend

gui.cs is a simple UI toolkit for .NET, .NET Core and Mono and works on both Windows and Linux/Unix created by Miguel de Icaza.

This project is a small Xamarin.Forms backend of gui.cs. Yes, create console Apps with C# and XAML!.

alternate text is missing from this package README image


It is a project in progress where there is currently implementation of:

  • Alert
  • Basic Layouts
  • Button
  • Label
  • ListView
  • ProgressBar
  • Switch

In progress:

  • Frame
  • Editor
  • ScrollView

Remain pending:

  • HexView
  • Menu

alternate text is missing from this package README image

Example App

Here is the complete source code to a Login sample. We start with a simple class where initialize gui.cs and Xamarin.Forms:

public class Program
    public static void Main()
        var app = new App();
        var window = new FormsWindow("Xamarin.Forms gui.cs Backend");

Where App is an Application of Xamarin.Forms:

public class App : Xamarin.Forms.Application
    public App()
        MainPage = new MainPage();

And MainPage is a just a Xamarin.Forms XAML ContentPage:

        Margin="0, 12"/>
        Text="Username" />
    <Entry />
        Text="Password" />
        IsPassword="True" />
    <Switch />

As in any Xamarin.Forms App, you can create the entire UI in C# code.

public MainPageCS()
    var panel = new StackLayout();

    var userNameLabel = new Xamarin.Forms.Label
        Text = "Username:"

    var userNameEntry = new Entry();

    var passwordLabel = new Xamarin.Forms.Label
        Text = "Password:"

    var passwordEntry = new Entry
        IsPassword = true

    var loginButton = new Xamarin.Forms.Button
        Text = "Login"

    Content = panel;


This project is open source and I love merging PRs. Try to file issues for things that you want to work on before you start the work so that there's no duplicated effort. If you just want to help out, check out the issues and dive in!.

Code released under the MIT license.

Product Compatible and additional computed target framework versions.
.NET Framework net471 is compatible.  net472 was computed.  net48 was computed.  net481 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.1.0 3,180 9/16/2018