SystemParameters::PowerLineStatus Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value indicating whether the system power is online, or that the system power status is unknown.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property PowerLineStatus PowerLineStatus {
	[SecurityCriticalAttribute]
	static PowerLineStatus get();
}

Property Value

Type: System.Windows::PowerLineStatus

A value in the enumeration.

<object property="{ SystemParameters.PowerLine}"/>

.NET Framework
Available since 3.0
Return to top
Show: