Update BrowserWindow.cs

This commit is contained in:
theolivenbaum
2021-09-10 10:11:41 +02:00
committed by GitHub
parent 8604b50224
commit 67ea8c768e

View File

@@ -1075,6 +1075,14 @@ namespace ElectronNET.API
{
BridgeConnector.Emit("browserWindowSetFullScreen", Id, flag);
}
/// <summary>
/// Sets whether the background color of the window
/// </summary>
public void SetBackgroundColor(string color)
{
BridgeConnector.Emit("browserWindowSetBackgroundColor", Id, color);
}
/// <summary>
/// Whether the window is in fullscreen mode.