Hi,
i use a RadGridView with a "GridViewImageColumn" like this:
But how do i bind an image to this column:
Name, Tele, time and Datum is ok, but i can't see an image. How do i solve this?
i tried:
But this is wrong...
thanks a lot
Rene
i use a RadGridView with a "GridViewImageColumn" like this:
<
telerik:GridViewImageColumn
DataMemberBinding
=
"{Binding Bild}"
Width
=
"50"
IsEnabled
=
"False"
ImageStretch
=
"None"
/>
But how do i bind an image to this column:
public class Calls
{
public string Name { get; set; }
public string Tele { get; set; }
public string time { get; set; }
public string Datum { get; set; }
public Image bild { get; set; }
}
ObservableCollection<
Calls
> _CallCollection = new ObservableCollection<
Calls
>();
_CallCollection.Add(new Calls
{
Name = name_s,
Tele = tele_s,
time = time_s,
Datum = datum_s,
bild = image
});
Name, Tele, time and Datum is ok, but i can't see an image. How do i solve this?
i tried:
var image = new Image();
image.Source = new BitmapImage(new Uri("pack://application:,,/Images/settings.png", UriKind.Absolute));
But this is wrong...
thanks a lot
Rene