Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oriches/simple.wpf.terminal

A simple console\terminal window for use in a WPF application
https://github.com/oriches/simple.wpf.terminal

csharp dotnet dotnet-core terminal wpf wpf-application xaml

Last synced: 5 days ago
JSON representation

A simple console\terminal window for use in a WPF application

Awesome Lists containing this project

README

        

# Simple.Wpf.Terminal

[![NuGet](https://img.shields.io/nuget/v/simple.wpf.terminal.svg)](https://github.com/oriches/simple.wpf.terminal)
[![Build status](https://ci.appveyor.com/api/projects/status/q6156o3477vsss4p/branch/master?svg=true)](https://ci.appveyor.com/project/oriches/simple-wpf-terminal/branch/master)

Supported versions:

.NET Framework 4.7 and higher,
.Net Core 3.1 and higher,
.Net 5.0 and higher

A simple console\\terminal window for use in a WPF application, this is a user control that will allow the user to enter a line of text (script\\command) and\or display a list of items in a console\\terminal style.

This user control does NOT actually do anything more than display data - the user control is the View (UI) in a MVVM implementation, the ViewModel would be responsible for the actual behaviour & contents of the console\\terminal window. The user control is designed to use XAML binding for all UI properties the user can configure.

The control supports theming and there are a couple of example themes supplied in the Simple.Wpf.Terminal.Themes project.

For more information about the releases see [Release Info] (https://github.com/oriches/Simple.Wpf.Terminal/wiki/Release-Info).

For more information about the styling the control see [Style Info] (https://github.com/oriches/Simple.Wpf.Terminal/wiki/Style-Info).

Currently we support the following .Net versions:

This library is available as a nuget [package] (https://www.nuget.org/packages/Simple.Wpf.Terminal/).

Examples of usage:

### Custom F# Interactive window in a WPF application
![alt text](https://raw.github.com/oriches/Simple.Wpf.Terminal/master/Readme%20Images/fsharp_repl.png "F# Interactive window")

The XAML is shown below:

```XAML



















```
An example of the Terminal Style (ReplTerminalStyle) is shown below and is available at the link below the example:

```XAML




<Setter Property="BorderThickness"
Value="0" />
<Setter Property="Background"
Value="Black" />
<Setter Property="Foreground"
Value="DeepSkyBlue" />
<Setter Property="LineColorConverter"
Value="{StaticResource LineColorConverter}" />
<Setter Property="ItemsMargin"
Value="5" />
<Setter Property="ItemHeight"
Value="10" />

```

The code for this is available here - https://github.com/oriches/Simple.Wpf.FSharp.Repl

### In-app Log viewer in a WPF application
![alt text](https://raw.github.com/oriches/Simple.Wpf.Terminal/master/Readme%20Images/log_window.png "Log window")

The XAML is shown below:

```XAML

```

The code for this is available here - https://github.com/oriches/Simple.Wpf.Composition

I'd be interested to hear about other uses :)