Show / Hide Table of Contents

Class MonitorInfo

Contains information about a display monitor.

Inheritance
System.Object
MonitorInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class MonitorInfo

Properties

| Improve this Doc View Source

Name

Gets the name of the display.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RectMonitor

Gets the display monitor rectangle, expressed in virtual-screen coordinates.

Declaration
public Rect RectMonitor { get; }
Property Value
Type Description
Rect
Remarks
note

If the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

| Improve this Doc View Source

RectWork

Gets the work area rectangle of the display monitor, expressed in virtual-screen coordinates.

Declaration
public Rect RectWork { get; }
Property Value
Type Description
Rect
Remarks
note

If the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.

Methods

| Improve this Doc View Source

GetDisplayMonitors()

Gets the display monitors (including invisible pseudo-monitors associated with the mirroring drivers).

Declaration
public static IList<MonitorInfo> GetDisplayMonitors()
Returns
Type Description
System.Collections.Generic.IList<MonitorInfo>

A list of display monitors

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX