Files
egtbeamwall/EgtBEAMWALL.Supervisor/LeftPanel/LeftPanelV.xaml
T
2021-04-26 11:40:48 +02:00

56 lines
2.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Grid x:Class="LeftPanelV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.Supervisor"
Width="550">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<UniformGrid Columns="2">
<TextBlock Text="OPState"/>
<TextBlock Text="{Binding sOPState}"/>
</UniformGrid>
<GroupBox Grid.Row="1"
Header="Axis">
<ItemsControl ItemsSource="{Binding AxisList}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<UniformGrid Columns="2">
<TextBlock Text="{Binding sName}"/>
<TextBlock Text="{Binding sValue}"/>
</UniformGrid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</GroupBox>
<StackPanel Grid.Row="2"
Orientation="Horizontal"
HorizontalAlignment="Right">
<Button Content="˄"
Command="{Binding MoveUpRawPart_Command}"
Style="{StaticResource LeftPanel_SmallButton}"/>
<Button Content="˅"
Command="{Binding MoveDownRawPart_Command}"
Style="{StaticResource LeftPanel_SmallButton}"/>
<Button Content="C"
Command="{Binding DeleteRawPart_Command}"
Style="{StaticResource LeftPanel_SmallButton}"/>
<Button Content="E"
Command="{Binding CompletedRawPart_Command}"
Style="{StaticResource LeftPanel_SmallButton}"/>
</StackPanel>
<EgtBEAMWALL:RawPartListV Grid.Row="3"
DataContext="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
<EgtBEAMWALL:PartInRawPartListV Grid.Row="4"
DataContext="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
</Grid>