From 9693c82792af90ae5283499a38532d23aae4c69d Mon Sep 17 00:00:00 2001 From: theolivenbaum Date: Mon, 6 Sep 2021 15:18:59 +0200 Subject: [PATCH] Add TitleBarOverlay option --- ElectronNET.API/Entities/BrowserWindowOptions.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ElectronNET.API/Entities/BrowserWindowOptions.cs b/ElectronNET.API/Entities/BrowserWindowOptions.cs index 2199fe4..8918192 100644 --- a/ElectronNET.API/Entities/BrowserWindowOptions.cs +++ b/ElectronNET.API/Entities/BrowserWindowOptions.cs @@ -222,6 +222,12 @@ namespace ElectronNET.API.Entities /// public bool FullscreenWindowTitle { get; set; } + /// + /// Activate the Window Controls Overlay on Windows, when combined with = + /// + [SupportedOSPlatform("win")] + public bool TitleBarOverlay { get; set; } + /// /// Use WS_THICKFRAME style for frameless windows on Windows, which adds standard /// window frame.Setting it to false will remove window shadow and window