SystemParameters.PowerLineStatus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.