91 lines
4.7 KiB
XML
91 lines
4.7 KiB
XML
<Grid x:Class="BottomPanelV"
|
|
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"
|
|
Height="350"
|
|
Visibility="{Binding BottomPanel_Visibility}">
|
|
<EgtWPFLib5:EgtScrollViewer Focusable="False">
|
|
<TabControl SelectedIndex="{Binding SelPartFeatureTab}"
|
|
TabStripPlacement="Right"
|
|
Margin="5">
|
|
<TabControl.ItemContainerStyle>
|
|
<Style TargetType="{x:Type TabItem}">
|
|
<Setter Property="Visibility" Value="Collapsed"/>
|
|
</Style>
|
|
</TabControl.ItemContainerStyle>
|
|
<TabItem Header="PART">
|
|
<TabItem.Content>
|
|
<EgtBEAMWALL:PartParametersV DataContext="{StaticResource PartParametersVM}"
|
|
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}"
|
|
Margin="5"/>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
<TabItem Header="FEATURE">
|
|
<TabItem.Content>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="300"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<EgtBEAMWALL:FeatureManagerV DataContext="{Binding Tag.SelFeature, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}"/>
|
|
<TabControl Grid.Row="1"
|
|
TabStripPlacement="Left"
|
|
Margin="5,5,2.5,5">
|
|
<TabItem Header="P">
|
|
<TabItem.Content>
|
|
<EgtBEAMWALL:ParameterListV DataContext="{Binding Tag.SelFeature, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}"
|
|
ItemsSource="{Binding PParamList}"
|
|
SelectedItem="{Binding SelPParam}"
|
|
Margin="5"/>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
<TabItem Header="Q">
|
|
<TabItem.Content>
|
|
<EgtBEAMWALL:ParameterListV DataContext="{Binding Tag.SelFeature, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}"
|
|
ItemsSource="{Binding QParamList}"
|
|
SelectedItem="{Binding SelQParam}"
|
|
Margin="5"/>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
</TabControl>
|
|
<TabControl Grid.Column="1"
|
|
Grid.Row="1"
|
|
TabStripPlacement="Bottom"
|
|
Margin="2.5,5,5,5">
|
|
<TabControl.ItemContainerStyle>
|
|
<Style TargetType="{x:Type TabItem}">
|
|
<Setter Property="Visibility" Value="Collapsed"/>
|
|
</Style>
|
|
</TabControl.ItemContainerStyle>
|
|
<!--<TabItem Header="Parameter"
|
|
DataContext="{Binding Tag.SelFeature, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}">-->
|
|
<TabItem Header="Parameter">
|
|
<TabItem.Content>
|
|
<Image Source="{Binding sCurrDraw}"
|
|
Margin="5"/>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
<TabItem Header="Feature"
|
|
DataContext="{Binding Tag.SelFeature, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}">
|
|
<TabItem.Content>
|
|
<Image Source="{Binding SelParam.sDrawPath}"
|
|
Margin="5"/>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
</TabControl>
|
|
<TextBlock Grid.Row="2" Grid.ColumnSpan="2"
|
|
Text="{Binding Tag.SelFeature.nCALC_MSG, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:BottomPanelV}}}"
|
|
Margin="5,0,5,0"/>
|
|
</Grid>
|
|
</TabItem.Content>
|
|
</TabItem>
|
|
</TabControl>
|
|
</EgtWPFLib5:EgtScrollViewer>
|
|
</Grid>
|