Edit

Share via


SystemParameters.PowerLineStatus Property

Definition

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

public:
 static property System::Windows::PowerLineStatus PowerLineStatus { System::Windows::PowerLineStatus get(); };
public static System.Windows.PowerLineStatus PowerLineStatus { [System.Security.SecurityCritical] get; }
public static System.Windows.PowerLineStatus PowerLineStatus { get; }
[<get: System.Security.SecurityCritical>]
static member PowerLineStatus : System.Windows.PowerLineStatus
static member PowerLineStatus : System.Windows.PowerLineStatus
Public Shared ReadOnly Property PowerLineStatus As PowerLineStatus

Property Value

A value in the enumeration.

Attributes

Remarks

XAML attribute usage

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

Applies to