Normally our image can be different size when we upload the. if we want to fixed that all image size will be fixed in Silver light 5 Data grid.like this XAML Binding for image: <sdk:DataGridTemplateColumn Header="Color image" Width="6*" IsReadOnly="True" > <sdk:DataGridTemplateColumn.CellTemplate > <DataTemplate> <Image Source="{Binding Path=ColorImageFile}" Stretch="Fill" Width="100" Height="60" Visibility="Visible"/> </DataTemplate> </sdk:DataGridTemplateColumn.CellTemplate> </sdk:DataGridTemplateColumn> on datagrid onloading event. set the image column with your class image attribute. here it is ColorImageFile private void DgReceiveBuyerComment_OnLoadingRow(object sender, DataGridRowEventArgs e) { try { BO.LAB_...
Work smarter, not harder.