Added properties

This commit is contained in:
Florian Rappl
2025-11-07 22:12:54 +01:00
parent 61421ddd66
commit 758e6a41e3
2 changed files with 18 additions and 1 deletions

View File

@@ -199,7 +199,7 @@ namespace ElectronNET.API.Entities
public bool DarkTheme { get; set; }
/// <summary>
/// Makes the window . Default is false.
/// Makes the window transparent. Default is false.
/// </summary>
public bool Transparent { get; set; }
@@ -215,6 +215,12 @@ namespace ElectronNET.API.Entities
[JsonConverter(typeof(StringEnumConverter))]
public TitleBarStyle TitleBarStyle { get; set; }
/// <summary>
/// When using a frameless window this can be used to indicate if the
/// standard control buttons should be shown. Default is false.
/// </summary>
public bool TitleBarOverlay { get; set; }
/// <summary>
/// Shows the title in the tile bar in full screen mode on macOS for all
/// titleBarStyle options.Default is false.
@@ -229,6 +235,15 @@ namespace ElectronNET.API.Entities
[DefaultValue(true)]
public bool ThickFrame { get; set; } = true;
/// <summary>
/// Whether frameless window should have rounded corners. Default is true. Setting this
/// property to false will prevent the window from being fullscreenable on macOS. On
/// Windows versions older than Windows 11 Build 22000 this property has no effect, and
/// frameless windows will not have rounded corners.
/// </summary>
[DefaultValue(true)]
public bool RoundedCorners { get; set; } = true;
/// <summary>
/// Add a type of vibrancy effect to the window, only on macOS. Can be
/// appearance-based, light, dark, titlebar, selection, menu, popover, sidebar,