mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-09 02:07:47 +00:00
18 lines
575 B
C#
18 lines
575 B
C#
using System.Runtime.Versioning;
|
|
|
|
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
/// Controls the behavior of <see cref="App.Focus(FocusOptions)"/>.
|
|
/// </summary>
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
public class FocusOptions
|
|
{
|
|
/// <summary>
|
|
/// Make the receiver the active app even if another app is currently active.
|
|
/// You should seek to use the steal option as sparingly as possible.
|
|
/// </summary>
|
|
[SupportedOSPlatform("macOS")]
|
|
public bool Steal { get; set; }
|
|
}
|
|
} |