239258bbce
-aggiunto funzione verificatutti con inversione e rotazione
151 lines
8.0 KiB
XML
151 lines
8.0 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:OPTIMIZER="clr-namespace:EgtBEAMWALL.Optimizer"
|
|
Style="{StaticResource LeftPanel_Grid}">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.RowSpan="2"
|
|
Grid.ColumnSpan="2"
|
|
Style="{StaticResource Optimizer_Border}"/>
|
|
|
|
<Grid Style="{StaticResource Verify_Grid}">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button ToolTip="{Binding VerifyAll_ToolTip}"
|
|
Command="{Binding VerifyAll_Command}"
|
|
IsEnabled="{Binding VerifyAll_IsEnabled}"
|
|
Style="{StaticResource Verify_Button}">
|
|
<Image Source="{StaticResource VerifyAll_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Grid.Column="1"
|
|
ToolTip="{Binding VerifyAll_ToolTip}"
|
|
Command="{Binding VerifyAllFlipRot_Command}"
|
|
IsEnabled="{Binding VerifyAll_IsEnabled}"
|
|
Style="{StaticResource Verify_Button}">
|
|
<Image Source="{StaticResource VerifyAllR_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Grid.Column="2"
|
|
Command="{Binding ResetCalc_Command}"
|
|
ToolTip="{Binding ResetCalc_ToolTip}"
|
|
IsEnabled="{Binding CALCPanel_IsEnabled}"
|
|
Style="{StaticResource Verify_Button}">
|
|
<Image Source="{StaticResource ResetCalc_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Grid.Column="3"
|
|
Name="FilterAllBtn"
|
|
ToolTip="{Binding FilterAll_ToolTip}"
|
|
Command="{Binding ShowPopUpFilterBtnCommand}"
|
|
Style="{StaticResource Verify_Button}">
|
|
<Image Source="{StaticResource AllFilter_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Popup IsOpen="{Binding IsFilterBtnOpen}"
|
|
PlacementTarget="{Binding ElementName=FilterAllBtn}"
|
|
Style="{StaticResource Filter_PopUp}">
|
|
<UniformGrid Columns="5"
|
|
Style="{StaticResource LeftPanel_UniformGrid}">
|
|
<Expander Header="{Binding Section_Msg}">
|
|
<ListBox ItemsSource="{Binding Tag.SectionList, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSection, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
DisplayMemberPath="sSectionXMaterial"
|
|
Style="{StaticResource LeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="1"
|
|
Header="{Binding Group_Msg}"
|
|
Style="{StaticResource LeftPanel_Expander}">
|
|
<ListBox ItemsSource="{Binding Tag.GroupList, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelGroup, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Style="{StaticResource LeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="2"
|
|
Header="{Binding SubGroup_Msg}"
|
|
Style="{StaticResource LeftPanel_Expander}">
|
|
<ListBox ItemsSource="{Binding Tag.SubGroupList, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSubGroup, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Style="{StaticResource LeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="3"
|
|
Header="{Binding ParType_Msg}"
|
|
Style="{StaticResource LeftPanel_Expander}">
|
|
<ListBox ItemsSource="{Binding Tag.SearchParamList, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSearchParam, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Style="{StaticResource LeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="4"
|
|
Header="{Binding ParValue_Msg}"
|
|
Style="{StaticResource LeftPanel_Expander}">
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.SearchText, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Style="{StaticResource SearchText_TextBox}"/>
|
|
</Expander>
|
|
</UniformGrid>
|
|
</Popup>
|
|
<Expander Grid.Column="4"
|
|
Header="{Binding Section_Msg}"
|
|
Style="{StaticResource Section_Expander}">
|
|
<ListBox ItemsSource="{Binding Tag.SectionList, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSection, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
DisplayMemberPath="sSectionXMaterial"
|
|
Style="{StaticResource LeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<EgtWPFLib5:EgtTextBox Grid.Column="5"
|
|
Text="{Binding Tag.SearchText, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Style="{StaticResource LeftPanel_TextBox}"/>
|
|
<Button Grid.Column="6" Visibility="Collapsed"
|
|
Command="{Binding RotateAll_Command}"
|
|
ToolTip="{Binding RotateAll_ToolTip}"
|
|
IsEnabled="{Binding RotateAll_IsEnabled}"
|
|
Style="{StaticResource LP_Button}">
|
|
<Image Source="{StaticResource Rotate_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Grid.Column="7" Visibility="Collapsed"
|
|
Command="{Binding InvertAll_Command}"
|
|
ToolTip="{Binding InvertAll_ToolTip}"
|
|
IsEnabled="{Binding RotateAll_IsEnabled}"
|
|
Style="{StaticResource LP_Button}">
|
|
<Image Source="{StaticResource Inversion_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
<Button Grid.Column="8" Visibility="Collapsed"
|
|
Command="{Binding Edit_Command}"
|
|
ToolTip="{Binding MultipleModify_ToolTip}"
|
|
IsEnabled="{Binding RotateAll_IsEnabled}"
|
|
Style="{StaticResource MacroFeaturen_Button}">
|
|
<Image Source="{StaticResource Edit_Image}"
|
|
Style="{StaticResource BTLDataWnd_Image}"/>
|
|
</Button>
|
|
</Grid>
|
|
|
|
<OPTIMIZER:BTLPartListV Grid.Row="1"
|
|
DataContext="{StaticResource PartListVM}"
|
|
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:LeftPanelV}}}"
|
|
Margin="4,0,4,0"/>
|
|
|
|
</Grid>
|