diff --git a/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs b/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs index fc44edf7..c87d8abd 100644 --- a/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs +++ b/src/ElectronNET.API/API/Entities/BrowserWindowOptions.cs @@ -215,7 +215,8 @@ public class BrowserWindowOptions /// /// Whether window should have a shadow. Default is true. /// - public bool HasShadow { get; set; } + [DefaultValue(true)] + public bool HasShadow { get; set; } = true; /// /// Forces using dark theme for the window, only works on some GTK+3 desktop environments. Default is false.