What is the difference between Frame and NavigationWindow ?
NavigationWindow is a top level window and frame is a part of window or another frame. A frame can be added to a NavigationWindow or another Frame. By default, NavigationWindow contains Back / Forward buttons whereas Frame doesn’t.
How do I enable automatic updates for my application using ClickOnce deployment ?
ClickOnce allows the vendors to provide regular updates for the applications. To enable automatic updates, select ‘publish’ tab in Project Properties window and click on the ‘updates’ button. In the Application Updates window, select the mode of application updates like ’after application starts’ and ’before application starts’. The former mode is used when there is a need to provide regular updates of the application after a period of time and in the later mode, the application checks for the updates only once, that is when the application runs for the first time. Click OK to close the Application Updates window and publish the application.
How does ClickOnce deployment work ?
ClickOnce allows you to deploy windows based applications to a client system using the web or file server. The application files are placed on the web or FTP site or local share and the user is provided with a link in case of web and FTP deployment. On clicking the link, the application files get downloaded and installed. When a new version or update is available, it can be automatically detected and applied to the clients using the optional deployment settings. In case of a local share deployment, the application can be installed similar to other windows based applications.
Can I override the default categories for platform controls in XAML as well ?
It can be done with the following piece of code. [XAML] <TextBlock x:Uid=’TextBlock_2′> <TextBlock.ToolTip> <TextBlock x:Uid=’TextBlock_3′ Localization.Attributes= ‘$Content(ToolTip Readable Unmodifiable)’> Microsoft Corporation </TextBlock> </TextBlock.ToolTip> Windows Vista </TextBlock>
How can I specify in the .proj file whether to leave the free-form localization comments in the assembly or strip them out ?
During the build process, you can specify in the .proj file whether to leave the free-form localization comments in the assembly, strip-out part of the comments or strip-out all the comments. The stripped-out comments are placed in a separate file. You specify your option using a ‘LocalizationDirectivesToLocFile’ tag as follows : [XAML] <LocalizationDirectivesToLocFile>value</LocalizationDirectivesToLocFile> Note : The values that can be assigned are: 1. None – Both comments and attributes stay inside the assembly and no separate file is generated. 2. CommentsOnly – Strips only the comments from the assembly and places them in the separate LocFile. 3. All – Strips both the comments and the attributes from the assembly and places them both in a separate LocFile.