Files
Electron.NET/ElectronNET.API/Entities/JumpListSettings.cs
rafael-aero e6ea9883fd code cleanup
2021-09-17 16:05:40 +02:00

20 lines
936 B
C#

using System;
namespace ElectronNET.API.Entities
{
public class JumpListSettings
{
/// <summary>
/// The minimum number of items that will be shown in the Jump List (for a more detailed description of this value see the
/// <see href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd378398(v=vs.85).aspx">MSDN</see> docs).
/// </summary>
public int MinItems { get; set; } = 0;
/// <summary>
/// Array of JumpListItem objects that correspond to items that the user has explicitly removed from custom categories
/// in the Jump List. These items must not be re-added to the Jump List in the next call to <see cref="App.SetJumpList"/>, Windows will
/// not display any custom category that contains any of the removed items.
/// </summary>
public JumpListItem[] RemovedItems { get; set; } = Array.Empty<JumpListItem>();
}
}