Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The properties of the widgetobject expose metadata about a widget and provides access to the widget's show and hide events.
Properties
Property | Description |
---|---|
authorEmail |
The email address of the widget’s author. |
authorName |
The name of the widget’s author. |
authorURL |
The URL of the widget’s author. |
currentIcon |
A WidgetIconobject representing the widget’s current icon. |
description |
A description of the widget. |
height |
The run-time height of the widget. |
identifier |
The unique identifier of the widget. |
locale |
The locale the widget is currently using. For more information on localizing widgets, see Windows Mobile Widgets Overview. |
menu |
The current menu. |
name |
The name of the widget. |
onhide |
A function that is invoked when the widget goes into the background. |
onshow |
A function that is invoked when the widget comes into the foreground. |
version |
The widget’s version information. |
width |
The run-time width of the widget. |
Remarks
The metadata exposed by the widget object is defined by the widget author in the widget's manifest. For more information, see Windows Windows Mobile Widget Manifest File.