aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Views/DBViews/ProcessParametersTablesGroupView.xaml
blob: 135d66eac367878a7ae18267cac161860700dd50 (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
<UserControl x:Class="Tango.MachineStudio.DB.Views.DBViews.ProcessParametersTablesGroupView"
             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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:controls="clr-namespace:Tango.MachineStudio.DB.Controls"
              xmlns:global="clr-namespace:Tango.MachineStudio.DB"
              xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:converters="clr-namespace:Tango.MachineStudio.DB.Converters"
             xmlns:local="clr-namespace:Tango.MachineStudio.DB.Views.DBViews"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" DataContext="{x:Static global:ViewModelLocator.ProcessParametersTablesGroupsViewVM}">

    <Grid>
        <controls:TableGrid>
            <TextBlock Text="ID:" FontWeight="Bold"></TextBlock>
            <TextBox Text="{Binding EditEntity.ID}" IsReadOnly="True" IsEnabled="False"></TextBox>
            <TextBlock Text="GUID:" FontWeight="Bold"></TextBlock>
            <TextBox Text="{Binding EditEntity.Guid}" IsReadOnly="True" IsEnabled="False"></TextBox>
            <TextBlock Text="Last Updated:" FontWeight="Bold"></TextBlock>
            <TextBox Text="{Binding EditEntity.LastUpdated}" IsReadOnly="True" IsEnabled="False"></TextBox>
            <TextBlock Text="RML:" FontWeight="Bold"></TextBlock>
            <ComboBox ItemsSource="{Binding Adapter.Rmls}" SelectedItem="{Binding EditEntity.Rml,Mode=TwoWay}" DisplayMemberPath="Name"></ComboBox>
            <TextBlock Text="Name:" FontWeight="Bold"></TextBlock>
            <TextBox Text="{Binding EditEntity.Name,Mode=TwoWay}"></TextBox>
            <TextBlock Text="Active:" FontWeight="Bold"></TextBlock>
            <ToggleButton IsChecked="{Binding EditEntity.Active}" HorizontalAlignment="Right"></ToggleButton>
        </controls:TableGrid>
    </Grid>
</UserControl>