Как установить фоновое изображение сетки в c # (код позади).
Спасибо Sp. Могу ли я сделать что-то подобное?
public ImageSource ImageSourcePin
{
set { this.DreamTypeImagePin.Background = value; }
}
Это сработало, спасибо за вашпомощь
public String ImageSourcePin
{
set {
ImageBrush img = new ImageBrush();
img.ImageSource = (ImageSource)new ImageSourceConverter().ConvertFromString(value);
DreamTypeImagePin.Background = img;
}
}