namespace ElectronNET.API.Entities { public class DisplayChanged { public Display display { get; set; } public string[] metrics { get; set; } } /// /// /// public class Display { /// /// Gets or sets the bounds. /// /// /// The bounds. /// public Rectangle Bounds { get; set; } /// /// Unique identifier associated with the display. /// public string Id { get; set; } /// /// Can be 0, 90, 180, 270, represents screen rotation in clock-wise degrees. /// public float Rotation { get; set; } /// /// Output device's pixel scale factor. /// public float ScaleFactor { get; set; } /// /// Gets or sets the size. /// /// /// The size. /// public Size Size { get; set; } /// /// Can be available, unavailable, unknown. /// public string TouchSupport { get; set; } /// /// Gets or sets the work area. /// /// /// The work area. /// public Rectangle WorkArea { get; set; } /// /// Gets or sets the size of the work area. /// /// /// The size of the work area. /// public Size WorkAreaSize { get; set; } } }