Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PowerModeChangedEventArgs::Mode Property

 

Gets an identifier that indicates the type of the power mode event that has occurred.

Namespace:   Microsoft.Win32
Assembly:  System (in System.dll)

public:
property PowerModes Mode {
	PowerModes get();
}

Property Value

Type: Microsoft.Win32::PowerModes

One of the PowerModes values.

This property indicates the type of the power mode transition that is occurring.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft