mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Implementing Recent Files WIP
Code refactoring Entry coloring
This commit is contained in:

committed by
BONNEVILLE Geoffroy

parent
817f25e8a8
commit
1ca3f29da0
@@ -1,10 +1,18 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using ModernKeePass.Models;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
|
||||
namespace ModernKeePass.ViewModels
|
||||
{
|
||||
public class MainVm
|
||||
public class MainVm : INotifyPropertyChanged
|
||||
{
|
||||
public ObservableCollection<MainMenuItem> MainMenuItems { get; set; }
|
||||
public IOrderedEnumerable<IGrouping<int, MainMenuItem>> MainMenuItems { get; set; }
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void NotifyPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user