aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/Views/MachineTechView.xaml
blob: 256a4a385a2887c1469d8ff824a48cb65ce8ff87 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<UserControl x:Class="Tango.MachineStudio.Technician.Views.MachineTechView"
             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:vm="clr-namespace:Tango.MachineStudio.Technician.ViewModels"
             xmlns:global="clr-namespace:Tango.MachineStudio.Technician"
             xmlns:editors="clr-namespace:Tango.Editors;assembly=Tango.Editors"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Tango.MachineStudio.Technician.Views"
             mc:Ignorable="d" 
             d:DesignHeight="720" d:DesignWidth="1280" Background="White" d:DataContext="{d:DesignInstance Type=vm:MachineTechViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MachineTechViewVM}">

    <UserControl.Resources>
        <ResourceDictionary Source="pack://application:,,,/Tango.MachineStudio.Common;component/Resources/MaterialDesign.xaml"></ResourceDictionary>
    </UserControl.Resources>

    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="150"/>
                <RowDefinition Height="199*"/>
            </Grid.RowDefinitions>

            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>

                <Menu Padding="5">
                    <MenuItem Header="File"></MenuItem>
                    <MenuItem Header="Edit"></MenuItem>
                    <MenuItem Header="View"></MenuItem>
                </Menu>

                <Grid Grid.Row="1">
                    
                </Grid>
            </Grid>

            <Grid Grid.Row="1" Margin="5">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="220"/>
                </Grid.ColumnDefinitions>

                <Grid>
                    <editors:ElementsEditor 
                        Elements="{Binding Elements}"
                        ElementCreation="ElementsEditor_ElementCreation" 
                        Margin="0 0 5 0" 
                        RulerHeight="32" 
                        FontSize="10" 
                        Background="White" 
                        EditorBackground="White" 
                        RulerBackground="White" 
                        Foreground="{StaticResource AccentColorBrush}" 
                        SelectionFillBrush="#338D8D8D" 
                        SelectionStrokeBrush="{StaticResource AccentColorBrush}" 
                        BorderBrush="{StaticResource AccentColorBrush}" 
                        BorderThickness="1" />
                </Grid>

                <Grid Grid.Column="1">
                    <GroupBox Header="PROPERTIES">
                        
                    </GroupBox>
                </Grid>
            </Grid>
        </Grid>
    </Grid>
</UserControl>