Monday, December 21, 2009

New features in Silverlight 4 Beta: Out Of Browser Applications (Sandboxed)

Out of browser applications are cool, aren’t they? In the near future I’ll write two posts about it. Today I’ll present enhancements of sandboxed applications.

Sandboxed out of browser additions:

  • Web Browser/HTML hosting
    • WebBrowser control
    • HtmlBrush
  • Window settings
    • Runtime changes to Height/Width
    • Specify startup location (in manifest)
    • Runtime control over WindowState (Normal, Minimized, Maximized)
    • Supports “TopMost” Apps (toolbar apps)
    • Enable App “Activate” (Normal window state - bringing to front, Minimized - flashing the taskbar)
  • Toast notifications (NotificationWindow)
  • DRM media playback
  • Add/Remove Program Integration

WebBrowser control is cool, but it doesn’t support opacity, rotation, effects and overlaid content (Silverlight content on HTML).

HtmlBrush requires manual refreshing (Refresh method).

NotificationWindow also has some limitations:

  • Size up to 400 x 100
  • Popup duration to 30 seconds
  • Cannot set opacity and rounded corners
  • Cannot launch popup windows
  • Location is fixing per operating system (Windows - lower right, OS X - upper right)

out-of-browser_0 out-of-browser_1out-of-browser_2

You can make much more. Look at cool HTML Puzzle example from PDC ! 

puzzles

Useful links

No comments: