In Silverlight 4, a new object was added - NotificationWindows, which allows you to notify the user about various events. Since it functions as a system message, it will work only when the application is started outside the browser.
Below is an example of working with NotificationWindow.
Code
Tick event, checks if the application is running outside the browser (OOB)
If running, initializes the NotificationWindow object.
Sets the Content, it can be TextBox or UserControl
To display a notification on the screen, calls the Show method, indicating the display time in milliseconds
')
NotificationWindow Facts
Can I display multiple notifications at the same time?
- Not.
Can a user interact with NotificationWindow?
- Yes, but only with the mouse.
What is the size of the NotificationWindow?
- 400x100.
Can I customize the look of the notification window?