Struct MonitorEventArgs
Defines the event data for the
Inherited Members
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct MonitorEventArgs
Constructors
MonitorEventArgs(MonitorHandle, bool)
Initializes a new instance of the MonitorEventArgs struct.
Declaration
public MonitorEventArgs(MonitorHandle monitor, bool isConnected)
Parameters
Type | Name | Description |
---|---|---|
MonitorHandle | monitor | The Monitor which triggered the event. |
bool | isConnected | Whether the Monitor is connected. |
Properties
IsConnected
Gets a value indicating whether the Monitor that triggered this event is connected or not.
Declaration
public bool IsConnected { get; }
Property Value
Type | Description |
---|---|
bool |
Monitor
Gets the Monitor which triggered the event.
Declaration
public MonitorHandle Monitor { get; }
Property Value
Type | Description |
---|---|
MonitorHandle |