How to minimize the Silverlight application to the system tray

How can I minimizea Silverlight Out Of Browserapplied to the application windows system tray? Is it possible?

+5
source share
4 answers

I like this question! This indicates another obvious requirement that Microsoft was unable to support OOB applications. Unfortunately, this is not directly supported as part of the existing Silverlight API. But, having said that we could β€œinvestigate” the achievement of this ... (the tips below may / may not work, since I myself have not tested them due to the lack of a Visual Studio environment on my machine!)

OOB Silverlight Application "", , OOB.

( ) ​​ ActiveX ( Windows), , MySilverlightHost. , Windows Form silverlight.

! . (http://firstfloorsoftware.com/blog/hosting-silverlight-outside-the-browser/) silverlight Windows.

, OOB , XAP, , ActiveX Silverlight Host Control. Windows, , .

, .

+3

. Silverlight API.

+1

, Microsoft Native Extensions Silverlight (NESL). ref: http://archive.msdn.microsoft.com/nesl

URL: NESL Windows 7, , , , .

0
Private Sub FullScr(sender As Object, e As MouseEventArgs)
    Application.Current.Host.Content.IsFullScreen = True
End Sub

Private Sub Nrml(sender As Object, e As MouseEventArgs)
    Application.Current.Host.Content.IsFullScreen = False
End Sub

Private Sub Min(sender As Object, e As MouseEventArgs)
    Application.Current.MainWindow.WindowState = WindowState.Minimized
End Sub
0

All Articles