using System.Windows.Input; using Avalonia.Media.Imaging; using ZTools.ViewModels; namespace ZTools.Models; public class MenuButtonItem { public Bitmap Icon { get; set; } public string Content { get; set; } public ICommand CommandEvent { get; set; } public PageViewModelBase PageView { get; set; } public MenuButtonItem(Bitmap icon, string content, ICommand commandEvent, PageViewModelBase pageView) { Icon = icon; Content = content; CommandEvent = commandEvent; PageView = pageView; } }