开发者

Is it possible to override a Lightswitch application title?

开发者 https://www.devze.com 2023-02-27 05:00 出处:网络
I\'d like to insert the application version开发者_开发知识库 number into my Lightswitch application title bar, but I haven\'t found anyway to programatically set the application title. Has anyone had

I'd like to insert the application version开发者_开发知识库 number into my Lightswitch application title bar, but I haven't found anyway to programatically set the application title. Has anyone had any luck doing this?


If your app is an OOB app, the title can be set in OutOfBrowerSettings.xml

See here:

http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/baf582d9-2a26-41bd-af8b-f515755c2783

And for sizing options as well:

http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/04ea3682-be6a-4a24-a770-aad0d71ec7e2

If the application is hosted inside a web page, so you just need change the title of the web page to whatever you want (from a post from Microsoft's Lifeng Lu).

Yann


I've never used Lightswitch before but in regular VB.Net you'd just add this to your Form Load event:

Me.Text = Me.Text & " " & Me.ProductVersion.ToString()
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号