Common controls events
| Event | Description | Supported targets |
|---|---|---|
| Elapsed | Activated when the timer control reaches its value. | Timer |
| Get | Retrieves the file. Default event. This will be used if another event is not specified. | FileViewer |
| LoadFile | Use to specify the file that should be opened in the editor.
TextEditor can also make use of source event, CurrentItemChanged, to fire every time a new file has been loaded into the editor. |
TextEditor |
| Open | Open the file in a modal dialog. | FileViewer |
| Prints an element to a printer. | PrintControl | |
| Preview | Shows a print preview for an element in a new window. | PrintControl |
| PrintToFile | Prints an element to a file in the XPS file format. The name of the file can be set using an event parameter called Filename. If the Filename parameter is missing a file chooser dialog will be displayed for the user. |
PrintControl |
| Start | Use to indicate when a timer control should start executing. | Timer |
| Stop | Use to indicate when a timer control should stop executing. | Timer |