b290bdf8a1
-modificato grafica finestra newaddfeature -modificato stile onlyprodoptimizestatistics e onlyprodstatistics
96 lines
5.4 KiB
XML
96 lines
5.4 KiB
XML
<Grid x:Class="OnlyProdLeftPanelV"
|
|
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.ViewerOptimizer">
|
|
<Grid.Background>
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.35,0">
|
|
<GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
|
|
<GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.65"/>
|
|
<GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
</Grid.Background>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<UniformGrid Columns="5"
|
|
Margin="0,10,0,10">
|
|
<Expander Header="{Binding Section_Msg}">
|
|
<ListBox ItemsSource="{Binding Tag.SectionList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSection, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
DisplayMemberPath="sSectionXMaterial"
|
|
Style="{StaticResource OnlyProdLeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="1"
|
|
Header="{Binding Group_Msg}"
|
|
Margin="-2,0,0,0">
|
|
<ListBox ItemsSource="{Binding Tag.GroupList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelGroup, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Style="{StaticResource OnlyProdLeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="2"
|
|
Header="{Binding SubGroup_Msg}"
|
|
Margin="-2,0,0,0">
|
|
<ListBox ItemsSource="{Binding Tag.SubGroupList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSubGroup, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Style="{StaticResource OnlyProdLeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="3"
|
|
Header="{Binding ParType_Msg}"
|
|
Margin="-2,0,0,0">
|
|
<ListBox ItemsSource="{Binding Tag.SearchParamList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSearchParam, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Style="{StaticResource OnlyProdLeftPanel_ListBox}"
|
|
ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
|
|
</Expander>
|
|
<Expander Grid.Column="4"
|
|
Header="{Binding ParValue_Msg}"
|
|
Margin="-2,0,0,0">
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.SearchText, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Style="{StaticResource SearchText_TextBox}"/>
|
|
</Expander>
|
|
</UniformGrid>
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.RowSpan="2" Style="{StaticResource OnlyProdPage_Border}"/>
|
|
|
|
<StackPanel Style="{StaticResource OnlyProdLeftPanel_StackPanel}">
|
|
<Button Command="{Binding Data_Command}"
|
|
ToolTip="{Binding Data_ToolTip}"
|
|
IsEnabled="{Binding Data_IsEnabled}"
|
|
Style="{StaticResource OnlyProdLeftPanel_Button}">
|
|
<Image Source="/Resources/InstrumentPanel/Analyze.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding Parameter_Command}"
|
|
ToolTip="{Binding Parameters_ToolTip}"
|
|
IsEnabled="{Binding Parameters_IsEnabled}"
|
|
Style="{StaticResource OnlyProdLeftPanel_Button}">
|
|
<Image Source="/Resources/InstrumentPanel/Analyze.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</StackPanel>
|
|
|
|
<EgtBEAMWALL:OnlyProdBTLPartManagerV/>
|
|
|
|
<EgtBEAMWALL:OnlyProdBTLPartListV Grid.Row="1"
|
|
DataContext="{StaticResource PartListVM}"
|
|
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Margin="4,0,4,0"/>
|
|
</Grid>
|
|
|
|
<EgtBEAMWALL:OnlyProdPartManagerV Grid.Row="2"
|
|
DataContext="{StaticResource PartManagerVM}"
|
|
Tag="{Binding Tag.SelBTLPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"
|
|
Visibility="{Binding DataContext.OnlyProdPartManagerVisibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdLeftPanelV}}}"/>
|
|
|
|
</Grid>
|