Interface IDisplayManager
Allows enumeration the displays attached to the system.
Namespace: WinMan
Assembly: WinMan.dll
Syntax
public interface IDisplayManager
Properties
| Improve this Doc View SourceDisplays
A snapshot list of all the attached displays;
Declaration
IReadOnlyList<IDisplay> Displays { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IDisplay> |
PrimaryDisplay
The current primary display.
Declaration
IDisplay PrimaryDisplay { get; }
Property Value
Type | Description |
---|---|
IDisplay |
VirtualDisplayBounds
The bounds of the virtual display;
Declaration
Rectangle VirtualDisplayBounds { get; }
Property Value
Type | Description |
---|---|
Rectangle |
Workspace
Declaration
IWorkspace Workspace { get; }
Property Value
Type | Description |
---|---|
IWorkspace |
Events
| Improve this Doc View SourceAdded
A new display had been added.
Declaration
event EventHandler<DisplayChangedEventArgs> Added
Event Type
Type | Description |
---|---|
System.EventHandler<DisplayChangedEventArgs> |
PrimaryDisplayChanged
The primary display has been changed.
Declaration
event EventHandler<PrimaryDisplayChangedEventArgs> PrimaryDisplayChanged
Event Type
Type | Description |
---|---|
System.EventHandler<PrimaryDisplayChangedEventArgs> |
Removed
A display has been removed.
Declaration
event EventHandler<DisplayChangedEventArgs> Removed
Event Type
Type | Description |
---|---|
System.EventHandler<DisplayChangedEventArgs> |
VirtualDisplayBoundsChanged
The bounds of the virtual display have changed.
Declaration
event EventHandler<DisplayRectangleChangedEventArgs> VirtualDisplayBoundsChanged
Event Type
Type | Description |
---|---|
System.EventHandler<DisplayRectangleChangedEventArgs> |