2025-11-09 12:05:07 +01:00
|
|
|
using System.Text.Json.Serialization;
|
2025-11-22 02:16:10 +01:00
|
|
|
using System.Runtime.Versioning;
|
2017-10-17 05:12:35 +02:00
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-16 16:53:35 +02:00
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
/// Options for BrowserWindow.setProgressBar(progress, options).
|
2017-10-24 21:43:27 +02:00
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
2017-10-16 16:53:35 +02:00
|
|
|
public class ProgressBarOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
/// Mode for the progress bar on Windows. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
|
2017-10-16 16:53:35 +02:00
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
[SupportedOSPlatform("windows")]
|
|
|
|
|
public ProgressBarMode Mode { get; set; } = ProgressBarMode.normal;
|
2017-10-16 16:53:35 +02:00
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
}
|