2017-09-27 18:01:21 +02:00
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using ModernKeePass.Models;
|
2017-09-29 17:23:35 -04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
2017-09-27 18:01:21 +02:00
|
|
|
|
|
|
|
|
|
namespace ModernKeePass.ViewModels
|
|
|
|
|
{
|
2017-09-29 17:23:35 -04:00
|
|
|
|
public class MainVm : INotifyPropertyChanged
|
2017-09-27 18:01:21 +02:00
|
|
|
|
{
|
2017-09-29 17:23:35 -04:00
|
|
|
|
public IOrderedEnumerable<IGrouping<int, MainMenuItem>> MainMenuItems { get; set; }
|
|
|
|
|
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
public void NotifyPropertyChanged(string propertyName)
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
}
|
2017-09-27 18:01:21 +02:00
|
|
|
|
}
|
|
|
|
|
}
|