aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.MobileEM.UI/Views/MainView.xaml
blob: 3c8caa91807c64357fe13758a0ba8741818fdde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<UserControl x:Class="Tango.MobileEM.UI.Views.MainView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
              xmlns:fa="http://schemas.fontawesome.io/icons/"
             xmlns:local="clr-namespace:Tango.MobileEM.UI.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="200">

    <Grid Margin="20">
        <UniformGrid Rows="2">
            <Button Width="100" Height="100" Style="{StaticResource AccentedSquareButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding StubsCommand}">
                <StackPanel Orientation="Vertical">
                    <fa:ImageAwesome Icon="Cogs" Width="32"></fa:ImageAwesome>
                    <TextBlock VerticalAlignment="Center" Margin="10">Stubs</TextBlock>
                </StackPanel>
            </Button>

            <Button Width="100" Height="100" Style="{StaticResource AccentedSquareButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding MonitoringCommand}">
                <StackPanel Orientation="Vertical">
                    <fa:ImageAwesome Icon="Gratipay" Width="32"></fa:ImageAwesome>
                    <TextBlock VerticalAlignment="Center" Margin="10">Monitoring</TextBlock>
                </StackPanel>
            </Button>
        </UniformGrid>
    </Grid>
</UserControl>