| | |
| | | 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> |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/PanuonDataGrid.xaml"/> |
| | | </ResourceDictionary.MergedDictionaries> |
| | | </ResourceDictionary> |
| | | </ResourceDictionary>--> |
| | | </UserControl.Resources> |
| | | <Border Style="{StaticResource CardBoarder}"> |
| | | <Grid dp:GridHelper.Space="10"> |
| | |
| | | <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}"> |
| | |
| | | </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"> |