2025-11-09 12:05:07 +01:00
|
|
|
using System.Text.Json.Serialization;
|
2017-10-21 04:37:01 +02:00
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2017-10-21 04:37:01 +02:00
|
|
|
public class OpenDevToolsOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
/// Opens the DevTools with specified dock state. Can be left, right, bottom, undocked, or detach.
|
|
|
|
|
/// Defaults to the last used dock state. In undocked mode it's possible to dock back; in detach mode it's not.
|
2017-10-21 04:37:01 +02:00
|
|
|
/// </summary>
|
|
|
|
|
public DevToolsMode Mode { get; set; }
|
2025-11-22 02:16:10 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether to bring the opened DevTools window to the foreground. Default is true.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool Activate { get; set; } = true;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A title for the DevTools window (only visible in undocked or detach mode).
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Title { get; set; }
|
2017-10-21 04:37:01 +02:00
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
}
|