DeviceStatus.PowerSourceChanged Event
Namespace: Microsoft.Phone.Info
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared Event PowerSourceChanged As EventHandler
public static event EventHandler PowerSourceChanged
public:
static event EventHandler^ PowerSourceChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
member PowerSourceChanged : IEvent<EventHandler,
EventArgs>
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.