Update Context Menu Item for tray app on-the-fly. #270

This commit is contained in:
Gregor Biswanger
2020-05-12 00:21:18 +02:00
parent b6417d0718
commit fd5801ffdc
8 changed files with 40 additions and 29 deletions

View File

@@ -69,13 +69,11 @@ namespace ElectronNET.API.Entities
/// <summary>
/// If false, the menu item will be greyed out and unclickable.
/// </summary>
[DefaultValue(true)]
public bool Enabled { get; set; } = true;
/// <summary>
/// If false, the menu item will be entirely hidden.
/// </summary>
[DefaultValue(true)]
public bool Visible { get; set; } = true;
/// <summary>