Loading Another XAML on Image Tap - xaml

I'm new to Windows 8 App Development. I have a Main.xaml and has an Image on it with
Image on Tap event. I used VB.
How can I load another xaml if the Image on Main.xaml is tapped? Ex. I want to load Second.xaml.
Thanks. I use Visual Studio 2012

If you are new to Windows 8 App Dev, you first need to take a look at the MSDN documentation and to answer your question the navigation documentation.

Related

Make Windows 7 style toolbar [outdated and unanswered]

Windows 7 has a new appearance for ToolBar control:
But my WinForms toolbar has the ugly classic gray
What do I have to do to make my ToolBar look like the first image
EDIT: I don't want to use gradients, I want to know if there's some P/Invoke (I use ToolBar instead of ToolStrip, 'cause ToolBar is nearer to native style controls than ToolStrip).
Disclaimer
THIS QUESTION HAD NO ANSWERS AND, NOW I USE C# INSTEAD OF VB.NET (My question about vb.net are outdated for me, because I use c# instead.
Toolbar control was replaced by ToolStrip control in Visual Studio 2010
You can follow this tutorial for creating a professionally styled ToolStrip Control

Switching between Phone/Windows XAML editor preview in VS2013?

I have a universal app for Windows and Phone in VS2013, and I have a page in the shared project of the solution.
When creating pages in the Windows project, the XAML preview window shows a tablet.
When creating pages in the Phone project, the XAML preview window shows a phone.
When creating pages in the shared project, the XAML preview window shows a... tablet.
As I try to put more pages in the shared project, I'd like to have a quick way to sanity-check my UI on both form factors without having to actually run the project. Sadly, there is no option in the Device panel to switch between preview devices.
How can I preview the XAML of a shared project page in the phone without actually running the project?
You don't need to run the project.
There is an easy way to switch between the different design views using the dropdown that is present above the xaml code of the shared project as shown below.
Step 1: Locate the dropdown
Step 2: Click on the dropdown arrow
Step 3: Change the Project to .WindowsPhone
Step 4: Change it back whenever required.
Hope it helps
In your XAML View. Above the XAML code in the top tool bar you can find a dropdown that will let you switch between YourApp.Windows and YourApp.WindowsPhone. This way you can easily switch views.
Hope it helps.

Overlay over multiple pages on Windows Phone 8

I trying to build a Windows Phone 8 Application which is able to sync data from a webservice.
While I'm syncing the data I want to display a little Popup / overlay / flyout but I still want to be able to navigate between my pages while my overlay persists between this pages.
I did this successfully with a Windows RT App: I simply added a Frame-Control on a RootPage which also display the flyout. I navigated then within this frame and the flyout was always there.
How can I achieve this goal within a Windows Phone 8 Application?
You can do it as you did on Windows8 which is to restyle the ``RootApplicationFrame to add your indicator. For an example see http://www.jeff.wilcox.name/2011/07/creating-a-global-progressindicator-experience-using-the-windows-phone-7-1-sdk-beta-2/
Or you could just use the progress indicator in the system tray of the page to add indication there. This is probably the most common approach taken in apps. See how at http://blog.duc.as/2011/10/08/using-the-system-tray-to-show-progress-in-windows-phone-7-mango/

Transition between xaml pages in Visual Studio 2012

I am working in VB.net in VS2012 with store template and I want to make transition between two XAML pages with animation when I press a button.
How can I do that?
There are no built in Page transitions, however, you can use a ContentThemeTransition to transition the content of a ContentControl, see this blog post for an example.

Windows 8, Metro app: About dialog box guidelines or suggestions

Are About dialog boxes "dead" in Windows 8 Metro apps? I looked over quite a few apps and screenshots of apps in the Windows store, and did not find any "inspiration".
Is there any guidelines from Microsoft or any article that discusses this issue?
What do you think is the best way to show a dialog box/popup that shows the app name, version, author and a link to the app's home page?
I am thinking of a icon button in the bottom appbar, something like "About Appname", that opens a popup with this information. I am using C# and XAML.
You would place the About into the Settings pane via the Settings Charm using the Setting Contract. You can see the About in almost all of the apps in the Store today. Quick start on adding Settings can be found here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh872190.aspx
Guidelines for app settings here: http://msdn.microsoft.com/en-us/library/windows/apps/hh770544.aspx
Take a look here.
It lets you create dialogs/flyouts very easily from a UserControl. A few lines of boiler plate and you are done. Takes care of animation, UI management etc.