mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-17 22:26:00 +00:00
22 lines
526 B
C#
22 lines
526 B
C#
namespace ElectronNET.API.Entities;
|
|
|
|
public class TitleBarOverlay
|
|
{
|
|
private readonly bool? _value;
|
|
|
|
public TitleBarOverlay()
|
|
{
|
|
}
|
|
|
|
private TitleBarOverlay(bool value) : this() => _value = value;
|
|
|
|
public string Color { get; set; }
|
|
|
|
public double Height { get; set; }
|
|
|
|
public string SymbolColor { get; set; }
|
|
|
|
public static implicit operator bool?(TitleBarOverlay titleBarOverlay) => titleBarOverlay?._value;
|
|
|
|
public static implicit operator TitleBarOverlay(bool value) => new(value);
|
|
} |