我们可以绑定来自不同来源的图像列和数据表中的其他列吗?
<DataGrid x:Name="GridViewProducts" Margin="80,30,0,0"
AutoGenerateColumns="True" BorderThickness="12"
BorderBrush="PaleTurquoise" ItemsSource="{Binding}" Height="200"
Width="745" HorizontalAlignment="Center"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
VerticalAlignment="Center" MouseEnter="GridViewProducts_MouseEnter" >
<DataGrid.Columns>
<DataGridTemplateColumn DisplayIndex="0"
x:Name="imageColumn">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Image x:Name="image_Grid_Column"
Source="{Binding ImageSource}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>