mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Created a new welcome page to be shown on first launch Added descriptive text in main menu pages
33 lines
827 B
C#
33 lines
827 B
C#
using System;
|
|
using Windows.UI.Xaml.Controls;
|
|
using ModernKeePass.Common;
|
|
using ModernKeePass.Interfaces;
|
|
|
|
namespace ModernKeePass.ViewModels
|
|
{
|
|
public class MainMenuItemVm: NotifyPropertyChangedBase, IIsEnabled
|
|
{
|
|
private bool _isSelected;
|
|
|
|
public string Title { get; set; }
|
|
|
|
public Type PageType { get; set; }
|
|
public object Parameter { get; set; }
|
|
public Frame Destination { get; set; }
|
|
public int Group { get; set; } = 0;
|
|
public Symbol SymbolIcon { get; set; }
|
|
public bool IsEnabled { get; set; } = true;
|
|
|
|
public bool IsSelected
|
|
{
|
|
get { return _isSelected; }
|
|
set { SetProperty(ref _isSelected, value); }
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Title;
|
|
}
|
|
}
|
|
}
|