Transition between xaml pages in Visual Studio 2012 - vb.net

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.

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.

Basic Page vs. Blank Page

I am trying to find the difference between the uses of a basic page and a blank page on windows store apps. I am writing an application that has multiple pages and I am not sure which one to use for my main page and I can't seem to find an answer that is helpful.
Basic Page inherits Common.LayoutAwarePage. This gives your page various capabilities like the automatic back button and a visualstatemanager for snapping among other things.
Blank Page only inherits Page and does not get any of the above capabilities. So for example if you need to incorporate snapped view in your page, you need to add a handler for the size changed event in your code.
A Basic Page makes it very easy to just write all the snapped changes in your VisualStateManager in XAML and then test it without running your code using just the device tab where you can select state of your device.
The MainPage in your project is a Blank Page and I prefer to create all other pages as Basic Pages to not worry about stuff like the back button.
That being said, Windows 8.1 apps do not include the LayoutAwarePage so if you are not used to the LayoutAwarePage, do not bother.
Let me know if you need more clarification.
Go with the Basic Page as it gives you automatic back button your view's title etc, and if you don't need them you can disable them also. But for blank page you have to write code for those common things.
This blog post will help you in understanding of Basic Page vs Blank Page.
http://myblogwindow8.blogspot.com/2013/06/blank-page-vs-basic-page-template.html

Loading Another XAML on Image Tap

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.

How do I add buttons to Aero Peek in VB6?

I'm working on a program that can play songs off an iPod. I want to be able to put functional Back, Play/Pause and Next buttons on its Aero Peek thumbnail like this:
For those who can't see it: http://i45.tinypic.com/1yua0m.png
How would I do this in VB6?
EDIT: Can I also create a jump list for my app? For this app, I only need taskbar jump lists. For others, I'll need taskbar and start menu jump lists so posting code to achieve both would be appreciated.
EDIT 2: I have uploaded a sample of how to use the ITaskBarList3 interface to add buttons to the window preview (and handle their click events), add an icon overlay, clip the window preview and add a progress bar to the program's taskbutton. Download it here.
Look at the Taskbar Thumbnail Toolbar feature of Windows Explorer. This does use a COM interface so I don't know how practical it is to use for VB but I beliver the IDLs are available if you look.
You can also find a C# example and the UI guidelines on MSDN.
The Jumplist information is also covered on the same pages.