From fe902bb551c8e9a55f732b8e8427ef861885edba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulski?= Date: Mon, 1 Apr 2019 21:58:40 +0200 Subject: [PATCH] Changed ImageBrush to Image --- Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/House.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/House.cs b/Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/House.cs index 6e2f398..c07d442 100644 --- a/Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/House.cs +++ b/Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/House.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.Windows.Controls; using System.Windows.Media; using CzokoŚmieciarka.DataModels.Interfaces; using CzokoŚmieciarka.DataModels.Interfaces.TrashCans; @@ -16,7 +17,7 @@ namespace CzokoŚmieciarka.WPFv2.Models public Coords Coords { get; } public IEnumerable TrashCans { get; set; } public string ImagePath { get; set; } - public ImageBrush ImageBrush { get; set; } + public Image Image { get; set; } public WPFHouse(Coords coords, IEnumerable trashCans, string imagePath)