blob: 662ca6a7583bcc7fe1c2583552f6bbfa563e8311 (
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
|
<UserControl x:Class="Tango.MachineStudio.RML.Views.BTSRView"
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:vm="clr-namespace:Tango.MachineStudio.RML.ViewModels"
xmlns:global="clr-namespace:Tango.MachineStudio.RML"
xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Tango.MachineStudio.RML.Views"
xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
mc:Ignorable="d"
d:DesignHeight="720" d:DesignWidth="1280" Background="Transparent" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}">
<Grid>
<DockPanel>
<Border DockPanel.Dock="Top" Background="{StaticResource TransparentBackgroundBrush200}" Margin="20 0" Padding="5" CornerRadius="5">
<Border.Effect>
<DropShadowEffect Opacity="0.4" />
</Border.Effect>
<Grid>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0" FontSize="16" Padding="2">BTSR</TextBlock>
</Grid>
</Border>
<Grid>
<DockPanel Grid.Column="1" Margin="25">
<Grid DockPanel.Dock="Bottom">
</Grid>
<Grid>
<!--HERE-->
<StackPanel>
<StackPanel HorizontalAlignment="Left" Width="400">
<TextBlock>Application Type</TextBlock>
<ComboBox Margin="0 2 0 0" ItemsSource="{Binding BtsrApplicationTypes}" SelectedItem="{Binding ActiveRML.BtsrApplicationType}" DisplayMemberPath="Description"></ComboBox>
</StackPanel>
<StackPanel Margin="0 20 0 0" HorizontalAlignment="Left" Width="400">
<TextBlock>Yarn Type</TextBlock>
<ComboBox Margin="0 2 0 0" ItemsSource="{Binding BtsrYarnTypes}" SelectedItem="{Binding ActiveRML.BtsrYarnType}" DisplayMemberPath="Description"></ComboBox>
</StackPanel>
<StackPanel Margin="0 20 0 0" HorizontalAlignment="Left" Width="400">
<TextBlock>Tension Error</TextBlock>
<mahapps:NumericUpDown HorizontalContentAlignment="Left" Padding="5 0 0 0" Margin="0 2 0 0" HasDecimals="True" Minimum="0" Maximum="1000" Value="{Binding ActiveRML.BtsrTensionError}" ></mahapps:NumericUpDown>
</StackPanel>
</StackPanel>
<!--HERE-->
</Grid>
</DockPanel>
</Grid>
</DockPanel>
</Grid>
</UserControl>
|