RingConsolePanel.xaml 2.86 KB
Newer Older
Nicolas Jager's avatar
Nicolas Jager committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<!-- **********************************************************************
* Copyright (C) 2016 by Savoir-faire Linux                                *
* Author: Jäger Nicolas<nicolas.jager@savoirfairelinux.com>               *
*                                                                         *
* This program is free software; you can redistribute it and/or modify    *
* it under the terms of the GNU General Public License as published by    *
* the Free Software Foundation; either version 3 of the License, or       *
* (at your option) any later version.                                     *
*                                                                         *
* This program is distributed in the hope that it will be useful,         *
* but WITHOUT ANY WARRANTY; without even the implied warranty of          *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
* GNU General Public License for more details.                            *
*                                                                         *
* You should have received a copy of the GNU General Public License       *
* along with this program.  If not, see <http://www.gnu.org/licenses/> .  *
*********************************************************************** -->
<Page
    x:Class="RingClientUWP.Views.RingConsolePanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
24
    NavigationCacheMode="Enabled"
Nicolas Jager's avatar
Nicolas Jager committed
25 26 27 28 29 30 31 32 33
      mc:Ignorable="d">

    <Grid x:Name="_debugWindowOutputGrid_">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <ScrollViewer x:Name="_scrollView_"
                      Grid.Row="0"
Nicolas Jager's avatar
Nicolas Jager committed
34
                      Padding="5,5"
Nicolas Jager's avatar
Nicolas Jager committed
35 36 37 38 39 40 41 42 43 44 45 46
                      Style="{StaticResource ConsoleScrollViewerStyle}">
            <RichTextBlock x:Name="_debugWindowOutput_"
                           Style="{StaticResource ConsoleTextStyle1}"/>
        </ScrollViewer>
        <Grid Grid.Row="1"
              Margin="10,0,10,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="50"/>
            </Grid.ColumnDefinitions>
            <TextBox x:Name="_tBoxDbg_"
                     Grid.Column="0"
Nicolas Jager's avatar
Nicolas Jager committed
47
                     KeyDown="_sendDbgCmd__KeyDown"
Nicolas Jager's avatar
Nicolas Jager committed
48 49
                     Style="{StaticResource ConsoleTextBoxStyle}"/>
            <Button x:Name="_btnSendDbgCmd_"
Nicolas Jager's avatar
Nicolas Jager committed
50
                    Click="_btnSendDbgCmd__Click"
Nicolas Jager's avatar
Nicolas Jager committed
51 52 53 54 55
                    Grid.Column="1"
                    Style="{StaticResource ButtonSendCmdStyle}"/>
        </Grid>
    </Grid>
</Page>