A reusable Custom Out-of-Browser Window in Silverlight 4
What this means is that you can turn this:
into this:
The MainWindow control derives from UserControl and is meant to replace the default layout root. It provides the following features:
- A title bar that users can drag to move the window. The title bar consumes out-of-browser configuration data for the icon and title text.
- A default border that users can drag to resize the window. Hovering over the border changes the cursor as you would expect. A BorderBrush dependency property lets you customize the border background from the application layout root.
- Isolated Storage support to store the window size, position, and state on application shutdown and retrieve the values on the next startup.
Download the project here.
Via Creating a Custom Out-of-Browser Window in Silverlight 4 – Silverlight SDK – Site Home – MSDN Blogs
No comments yet.
