Hi,
How do you set the backgound image of a grid in c# (code behind).
Thanks Sp Can I do something like this?
public ImageSource ImageSourcePin
{
set { this.DreamTypeImagePin.Background = value; }
}
This worked,thanks for your help
public String ImageSourcePin
{
set {
ImageBrush img = new ImageBrush();
img.ImageSource = (ImageSource)new ImageSourceConverter().ConvertFromString(value);
DreamTypeImagePin.Background = img;
}
}