mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Migrate device info panel from Eto.Forms to Avalonia.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user