Class DisplayConnectionChangedEventArgs
This event is triggered when a display is connected or disconnected from the system.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class DisplayConnectionChangedEventArgs : EventArgs
Constructors
DisplayConnectionChangedEventArgs(DisplayHandle, bool)
Initializes a new instance of the DisplayConnectionChangedEventArgs class.
Declaration
public DisplayConnectionChangedEventArgs(DisplayHandle display, bool disconnected)
Parameters
Type | Name | Description |
---|---|---|
DisplayHandle | display | The display that was either connected or disconnected. |
bool | disconnected | If the display was connected or disconnected. |
Properties
Disconnected
Whether the monitor was connected or disconnected.
Declaration
public bool Disconnected { get; }
Property Value
Type | Description |
---|---|
bool |
Display
A handle to the display that was connected or got disconnected.
Declaration
public DisplayHandle Display { get; }
Property Value
Type | Description |
---|---|
DisplayHandle |