Show / Hide Table of Contents

Struct MonitorEventArgs

Defines the event data for the event.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
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
In This Article
Back to top Generated by DocFX