d611f66d43
Correzioni e migliorie
68 lines
2.8 KiB
XML
68 lines
2.8 KiB
XML
<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="Auto"/>
|
||
<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="D"
|
||
Command="{Binding DoneRawPart_Command}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="-"
|
||
Command="{Binding DeleteRawPart_Command}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
</StackPanel>
|
||
|
||
<EgtBEAMWALL:RawPartListV Grid.Row="3"
|
||
DataContext="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
<StackPanel Grid.Row="4"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Right">
|
||
<Button Content="D"
|
||
Command="{Binding DoneRawPart_Command}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
</StackPanel>
|
||
|
||
<UniformGrid Grid.Row="5"
|
||
Columns="2">
|
||
<EgtBEAMWALL:PartInRawPartListV DataContext="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
<EgtBEAMWALL:FeatureInPartInRawPartListV DataContext="{Binding Tag.SelectedMachGroup.SelPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
||
Visibility="{Binding FeatureList_Visibility}"/>
|
||
</UniformGrid>
|
||
|
||
</Grid>
|