mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Backgrounds unified Menu items can be disabled thanks to custom ListView control
18 lines
364 B
C#
18 lines
364 B
C#
using System;
|
|
using ModernKeePass.Interfaces;
|
|
|
|
namespace ModernKeePass.Models
|
|
{
|
|
public class MainMenuItem: IIsEnabled
|
|
{
|
|
public string Title { get; set; }
|
|
public Type PageType { get; set; }
|
|
public bool IsEnabled => PageType != null;
|
|
|
|
public override string ToString()
|
|
{
|
|
return Title;
|
|
}
|
|
}
|
|
}
|