Is it Possible To change the Title of the application in Out-of-Browser mode in silverlight

依然范特西╮ 提交于 2019-12-12 03:47:44

问题


I have a silverlight 4.0 application where I need to change the Window Title of the application after login to the application according to the User in the Out-of-Browser mode.

Is it Possible ?

I have gone through the following link

http://www.codeproject.com/Articles/68955/Silverlight-4-How-Can-I-Create-a-Customized-OOB-Wi

Thanks Chittaranjan


回答1:


I don't believe it is possible in Silverlight 4.

In Silverlight 5, it's very easy, provided you're running with elevated trust:

App.Current.MainWindow.Title = "Your new window title";

However, the MSDN documentation for the Window.Title property clearly states that this property is only supported in Silverlight 5.



来源:https://stackoverflow.com/questions/11445505/is-it-possible-to-change-the-title-of-the-application-in-out-of-browser-mode-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!