mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-11 13:44:38 +00:00
18 lines
602 B
C#
18 lines
602 B
C#
using System.Text.Json.Serialization;
|
|
using System.Runtime.Versioning;
|
|
|
|
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
/// Options for BrowserWindow.setProgressBar(progress, options).
|
|
/// </summary>
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
public class ProgressBarOptions
|
|
{
|
|
/// <summary>
|
|
/// Mode for the progress bar on Windows. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
|
|
/// </summary>
|
|
[SupportedOSPlatform("windows")]
|
|
public ProgressBarMode Mode { get; set; } = ProgressBarMode.normal;
|
|
}
|
|
} |