Show / Hide Table of Contents

Class DisplayConnectionChangedEventArgs

This event is triggered when a display is connected or disconnected from the system.

Inheritance
object
EventArgs
DisplayConnectionChangedEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.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
In this article
Back to top Generated by DocFX