共用方式為


SystemParameters.PowerLineStatus 屬性

定義

取得值,指出系統電源是否連線,或不知道系統電源狀態。

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

屬性值

列舉中的值。

屬性

備註

XAML 屬性用法

< object property=「{ SystemParameters.PowerLine } 」/>

適用於