Class DisplayDescriptor
Describes a display device including its dimensions and location.
public class DisplayDescriptor
- Inheritance
-
DisplayDescriptor
- Inherited Members
Constructors
DisplayDescriptor()
public DisplayDescriptor()
Properties
DeviceId
Gets or sets the unique identifier of the display device.
public string DeviceId { get; set; }
Property Value
Location
Gets or sets the location of the display in the virtual desktop coordinate space.
public Rect Location { get; set; }
Property Value
Name
Gets or sets the human-readable name of the display.
public string Name { get; set; }
Property Value
RefreshRate
Gets or sets the refresh rate of the display in Hz.
public int RefreshRate { get; set; }
Property Value
Size
Gets or sets the size of the display in pixels.
public Rect Size { get; set; }
Property Value
Methods
ToString()
Returns a string representation of this display descriptor.
public override string ToString()
Returns
- string
A string describing the display name, size, location, and refresh rate.