Migrate device info panel from Eto.Forms to Avalonia.

This commit is contained in:
2020-04-15 04:40:24 +01:00
parent b81d7180b5
commit e5a73f86de
10 changed files with 1338 additions and 887 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.ObjectModel;
using Aaru.Gui.ViewModels;
using Avalonia.Media.Imaging;
namespace Aaru.Gui.Models
@@ -7,9 +8,10 @@ namespace Aaru.Gui.Models
{
public DeviceModel() => Media = new ObservableCollection<MediaModel>();
public Bitmap Icon { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public Bitmap Icon { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public DeviceInfoViewModel ViewModel { get; set; }
public ObservableCollection<MediaModel> Media { get; }
}