I have created a class AsyncClass and
Receives as an argument the path to the file has one of the Image property.
Default file loaded into memory before the image from the Image properties
Return when you load the file into memory and returns the file loaded in the Image properties
At the time the file is loaded I want to change the image of the ListView's Row informs this possible?
(like wpf binding )
private void radListView1_ItemDataBound(object sender, Telerik.WinControls.UI.ListViewItemEventArgs e)
{
DataRowView rowView = e.Item.DataBoundItem as DataRowView;
AsyncImage ai = new AsyncImage(rowView["FilePath"].ToString());
e.Item.Image = AsyncImage.Image;
}
Receives as an argument the path to the file has one of the Image property.
Default file loaded into memory before the image from the Image properties
Return when you load the file into memory and returns the file loaded in the Image properties
At the time the file is loaded I want to change the image of the ListView's Row informs this possible?
(like wpf binding )
private void radListView1_ItemDataBound(object sender, Telerik.WinControls.UI.ListViewItemEventArgs e)
{
DataRowView rowView = e.Item.DataBoundItem as DataRowView;
AsyncImage ai = new AsyncImage(rowView["FilePath"].ToString());
e.Item.Image = AsyncImage.Image;
}