Changed ImageBrush to Image

This commit is contained in:
Michał Dulski 2019-04-01 21:58:40 +02:00
parent 1abeccfcdc
commit fe902bb551

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media; using System.Windows.Media;
using CzokoŚmieciarka.DataModels.Interfaces; using CzokoŚmieciarka.DataModels.Interfaces;
using CzokoŚmieciarka.DataModels.Interfaces.TrashCans; using CzokoŚmieciarka.DataModels.Interfaces.TrashCans;
@ -16,7 +17,7 @@ namespace CzokoŚmieciarka.WPFv2.Models
public Coords Coords { get; } public Coords Coords { get; }
public IEnumerable<ATrashCan> TrashCans { get; set; } public IEnumerable<ATrashCan> TrashCans { get; set; }
public string ImagePath { get; set; } public string ImagePath { get; set; }
public ImageBrush ImageBrush { get; set; } public Image Image { get; set; }
public WPFHouse(Coords coords, IEnumerable<ATrashCan> trashCans, string imagePath) public WPFHouse(Coords coords, IEnumerable<ATrashCan> trashCans, string imagePath)