|
|
|
@ -60,14 +60,15 @@ |
|
|
|
<DataGridTextColumn Header="原料类型" Width="80" FontSize="15" MaxWidth="80" MinWidth="70" CanUserReorder="False"> |
|
|
|
<DataGridTextColumn.ElementStyle> |
|
|
|
<Style TargetType="{x:Type TextBlock}"> |
|
|
|
<Setter Property="Text" Value="{Binding Path=ProductType,Converter={StaticResource ProductTypeSQLConvert}}"/> |
|
|
|
<Setter Property="Text" Value="{Binding Path=ProductType,Converter={StaticResource ProductTypeSQLConvert}}"> |
|
|
|
</Setter> |
|
|
|
</Style> |
|
|
|
</DataGridTextColumn.ElementStyle> |
|
|
|
</DataGridTextColumn> |
|
|
|
<DataGridTextColumn Header="色彩" Width="100" MaxWidth="500" MinWidth="50" CanUserReorder="False"> |
|
|
|
<DataGridTextColumn.ElementStyle> |
|
|
|
<Style TargetType="{x:Type TextBlock}"> |
|
|
|
<Setter Property="Background" Value="{Binding Path=Color,Converter={StaticResource ColorSQLConvert}}"/> |
|
|
|
<Setter Property="Background" Value="{Binding Path=Color,Converter={StaticResource ColorSQLConvert}}"/> |
|
|
|
</Style> |
|
|
|
</DataGridTextColumn.ElementStyle> |
|
|
|
</DataGridTextColumn> |
|
|
|
|