wenxiangchao
3 天以前 b544d5cccd76735e034c8055918a50927b437474
HMI.ParameterManage/TestItem.xaml
@@ -10,9 +10,16 @@
             xmlns:pw="https://opensource.panuon.com/wpf"
             xmlns:pu="https://opensource.panuon.com/wpf-ui"
             xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
             Background="{StaticResource WorkspaceBackground}"
             Background="{DynamicResource WorkspaceBackground}"
             Loaded="PluginControl_Loaded"
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <!--<ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/HMI.UI;component/Style/PanuonDataGrid.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>-->
    </UserControl.Resources>
    <Border Style="{StaticResource CardBoarder}">
        <Grid dp:GridHelper.Space="10">
            <Grid.RowDefinitions>
@@ -61,7 +68,7 @@
                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="8*"/>
                </Grid.ColumnDefinitions>
                <Border Grid.Column="0" BorderThickness="2,2,0,2" BorderBrush="{StaticResource CommonBoarder}">
                <Border Grid.Column="0" BorderThickness="2,2,0,2" BorderBrush="{DynamicResource CommonBoarder}">
                    <DataGrid Style="{StaticResource DefaultDataGrid}" 
                          ItemsSource="{Binding Products}"
                          SelectedItem="{Binding SelectedProduct}">
@@ -82,7 +89,7 @@
                        </DataGrid.Columns>
                    </DataGrid>
                </Border>
                <Border Grid.Column="1" BorderThickness="2" BorderBrush="{StaticResource CommonBoarder}">
                <Border Grid.Column="1" BorderThickness="2" BorderBrush="{DynamicResource CommonBoarder}">
                    <DataGrid Style="{StaticResource DefaultDataGrid}" ItemsSource="{Binding TestItems}">
                        <DataGrid.Columns>
                            <DataGridTemplateColumn Header="" Width="Auto" CanUserResize="False">