Files
Electron.NET/src/ElectronNET.API/API/Entities/ThumbarButtonFlag.cs
2025-11-22 02:24:32 +01:00

42 lines
1.2 KiB
C#

using System.Runtime.Versioning;
namespace ElectronNET.API.Entities
{
/// <summary>
/// Flags for Windows taskbar thumbnail toolbar buttons.
/// </summary>
/// <remarks>Up-to-date with Electron API 39.2</remarks>
[SupportedOSPlatform("windows")]
public enum ThumbarButtonFlag
{
/// <summary>
/// The button is active and available to the user.
/// </summary>
enabled,
/// <summary>
/// The button is disabled.It is present, but has a visual state indicating it will not respond to user action.
/// </summary>
disabled,
/// <summary>
/// When the button is clicked, the thumbnail window closes immediately.
/// </summary>
dismissonclick,
/// <summary>
/// Do not draw a button border, use only the image.
/// </summary>
nobackground,
/// <summary>
/// The button is not shown to the user.
/// </summary>
hidden,
/// <summary>
/// The button is enabled but not interactive; no pressed button state is drawn.This value is intended for instances where the button is used in a notification.
/// </summary>
noninteractive
}
}