我想使用 TileView 展示产品,但我在提供 url 时不展示图片。我该如何克服这个问题?
private void tileView1_ItemCustomize(object sender, DevExpress.XtraGrid.Views.Tile.TileViewItemCustomizeEventArgs e)
{
TileView view = sender as TileView;
string ID = view.GetRowCellValue(e.RowHandle, "ID").ToString();.ToString();
string url = "http://webpage.com/images/"+ ID + ".jpg";
e.Item.Elements[6].ImageUri = url;
}