Skip to content
Ollie Riches edited this page Jan 7, 2014 · 4 revisions

The library comes with a couple of style built in, shown below is the ['Blue Theme'] (https://github.com/oriches/Simple.Wpf.Terminal/blob/master/Simple.Wpf.Terminal.Themes/BlueTheme.xaml), as you can see it's pretty simple and easy to manipulate the control to get the desired look and feel:

You must define your theme with the Key 'TerminalStyle'.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:terminal="clr-namespace:Simple.Wpf.Terminal;assembly=Simple.Wpf.Terminal">

    <Style x:Key="TerminalStyle"
           TargetType="{x:Type terminal:Terminal}"
           BasedOn="{x:Null}">
        <Setter Property="BorderThickness"
                Value="0" />
        <Setter Property="Background"
                Value="DarkBlue" />
        <Setter Property="Foreground"
                Value="Yellow" />
        <Setter Property="FontFamily"
                Value="Lucida Console" />
        <Setter Property="ItemErrorColor"
                Value="DarkOrange" />
        <Setter Property="ItemsMargin"
                Value="5" />
        <Setter Property="ItemHeight"
                Value="10" />
    </Style>

</ResourceDictionary>
Clone this wiki locally