Show / Hide Table of Contents

Class PowerStateChangeEventArgs

This event is triggered when the power state of the system changes.

Inheritance
object
EventArgs
PowerStateChangeEventArgs
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 PowerStateChangeEventArgs : EventArgs

Constructors

PowerStateChangeEventArgs(bool)

Initializes a new instance of the PowerStateChangeEventArgs class.

Declaration
public PowerStateChangeEventArgs(bool goingToSleep)
Parameters
Type Name Description
bool goingToSleep

If we are going to sleep.

Properties

GoingToSleep

If the computer is entering sleep or if it's being woken from sleep.

Declaration
public bool GoingToSleep { get; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX