<UserControl x:Class="PdmSwPlugin.PropertySetting.Panel.JgjPartPanel" 
 | 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
 | 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
 | 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  
 | 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 | 
             mc:Ignorable="d"  
 | 
             x:Name="self" 
 | 
             d:DesignHeight="900" d:DesignWidth="800"> 
 | 
  
 | 
    <UserControl.Resources> 
 | 
        <ResourceDictionary> 
 | 
            <ResourceDictionary.MergedDictionaries> 
 | 
                <ResourceDictionary Source="/PdmSwPlugin.Common;component/Style/ToolBar.xaml"/> 
 | 
                <ResourceDictionary Source="/PdmSwPlugin.Common;component/Style/ComboxStyle.xaml"/> 
 | 
            </ResourceDictionary.MergedDictionaries> 
 | 
        </ResourceDictionary> 
 | 
    </UserControl.Resources> 
 | 
  
 | 
    <StackPanel> 
 | 
        <StackPanel x:Name="materialCodePanel"> 
 | 
            <Label Content="物料编码"/> 
 | 
            <TextBox x:Name="materialCodeText" IsReadOnly="True" Text="{Binding materialCode,UpdateSourceTrigger=PropertyChanged}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="weightPanel"> 
 | 
            <Label Content="重量(kg)"/> 
 | 
            <TextBox IsReadOnly="True" x:Name="weightText" Text="{Binding weight}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="materialNamePanel"> 
 | 
            <Label Content="物料名称"/> 
 | 
            <TextBox x:Name="materialNameText" Text="{Binding materialName,UpdateSourceTrigger=PropertyChanged}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="jgjTypePanel"> 
 | 
            <Label Content="加工件类型"/> 
 | 
            <ComboBox x:Name="jgjTypeInput" Style="{StaticResource ShowTextCombox}" 
 | 
                      Text="{Binding jgjType,Mode=TwoWay}"  
 | 
                      ItemsSource="{Binding jgjTypeItems}" /> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="stuffPanel"> 
 | 
            <Label Content="材质"/> 
 | 
            <ComboBox x:Name="stuffInput" Style="{StaticResource ShowTextCombox}"  
 | 
                      Text="{Binding stuff,Mode=TwoWay}" 
 | 
                      ItemsSource="{Binding stuffItems}"  
 | 
                      DropDownOpened="stuffInput_DropDownOpened"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="surfacePanel"> 
 | 
            <Label Content="表面处理"/> 
 | 
            <ComboBox x:Name="surfaceInput" Style="{StaticResource ShowTextCombox}"  
 | 
                        Text="{Binding surface,Mode=TwoWay}"  
 | 
                        ItemsSource="{Binding surfaceItems}" DropDownOpened="stuffInput_DropDownOpened"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="heatPanel"> 
 | 
            <Label Content="热处理"/> 
 | 
            <ComboBox x:Name="heatInput" Style="{StaticResource ShowTextCombox}" 
 | 
                        Text="{Binding heat,Mode=TwoWay}"  
 | 
                        ItemsSource="{Binding heatItems}" DropDownOpened="stuffInput_DropDownOpened"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="materialTypePanel"> 
 | 
            <Label Content="物料类型"/> 
 | 
            <ComboBox ItemsSource="{Binding materialTypeItems}" SelectedItem="{Binding materialType,Mode=TwoWay}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="createUserPanel"> 
 | 
            <Label Content="设计人员"/> 
 | 
            <TextBox x:Name="createUserText" Text="{Binding designer,UpdateSourceTrigger=PropertyChanged}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="remarkPanel"> 
 | 
            <Label Content="备注"/> 
 | 
            <TextBox x:Name="remarkText" Text="{Binding remark,UpdateSourceTrigger=PropertyChanged}" /> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="formatPanel"> 
 | 
            <Label Content="文件格式"/> 
 | 
            <ComboBox ItemsSource="{Binding docTypeItems}" IsEnabled="{Binding DocTypeEnabled}" 
 | 
SelectedItem="{Binding docType,Mode=TwoWay}"/> 
 | 
        </StackPanel> 
 | 
  
 | 
        <StackPanel x:Name="versionChangePanel"> 
 | 
            <CheckBox Content="版本变更" IsChecked="{Binding versionChangeBind}"/> 
 | 
        </StackPanel> 
 | 
    </StackPanel> 
 | 
</UserControl> 
 |