Files
Electron.NET/src/ElectronNET.API/API/Entities/ProgressBarOptions.cs

18 lines
602 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
using System.Runtime.Versioning;
namespace ElectronNET.API.Entities
2017-10-16 16:53:35 +02:00
{
/// <summary>
/// Options for BrowserWindow.setProgressBar(progress, options).
/// </summary>
/// <remarks>Up-to-date with Electron API 39.2</remarks>
2017-10-16 16:53:35 +02:00
public class ProgressBarOptions
{
/// <summary>
/// Mode for the progress bar on Windows. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
2017-10-16 16:53:35 +02:00
/// </summary>
[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
}