Secondary Live tiles in windows phone 8 - c#

Can we use secondary Live tiles inside the windows phone application, or secondary tiles will always appear on the home screen?

Live Tiles are displayed on the home screen. However you can simulate Live Tiles within your own app by creating your own control or using the HubTile from the Windows Phone Toolkit.

this is something i have figured out.
Live tiles are Shell Controls, means they will only appear at your Shell/HomeScreen(where all tiles are shown) and these cant be treated as UI Controls inside your app. However you can create their replicas as UI/XAML controls very easily and use them inside your application.
Here is the link for sample code on how to create custom tiles as XAML control inside your application
http://code.msdn.microsoft.com/wpapps/Windows-Phone-XAML-Create-3707b497

Related

Expression Animation in WPF

Is there any kind of animation available for WPF app like expression animation in UWP?
Suppose I want to move a rectangle vertically with my mouse and another rectangle should move horizontally accordingly to the first one.
You can try with WindowsXAMLHost: it's a new feature, still in development, incorporated in the Windows Community Toolkit.
By using the WindowsXamlHost control, you can add built-in or custom UWP controls to the User Interface (UI) of your WPF or Windows Forms desktop application, even with custom functionalities.
Check the related MSFT Docs here: UWP controls in Desktop applications
Then get the companion app from the Win Store: Windows Community Toolkit Sample app
It will be a little bit tricky... but I'm sure that it is possible to do what you requested.
Best regards

How to display tiles in my home page

I want to place some tiles in my Homepage, they are categories, user could click any of them to navigate to the proper page, and if user click the tile longer, he could pin the tile as secondary tile to the phone page. The number of tiles may changed in the future, so I don't want to put fix number of rectangles in the xaml, anybody can help?
You can use the HubTile control in the free WP Toolkit. A guide can be found here: Windows Phone HubTile in depth
I use these in some apps and they are great. They do not give you the functionality to pin to the Start screen though. But you should be able to simply use the same data to create a hub tile and a Start screen secondary tile at the same time.
If you are willing to pay some bucks you could try the TreeMap control which is inside the Syncfusion Essential Fusion for Windows Phone.

Metro App Pin/Unpin to Start screen

How do I pin/unpin an application to the Windows 8 start screen using C#?
You can pin secondary tiles to the start screen via RequestCreateAsync (or one of its variants), but this step requires user approval.
If you mean create the main tile for an application that's listed in All apps, but perhaps the user had previously opted to remove the tile from the Start Screen, AFAIK there's no equivalent API for that, and it would occur only through the user opting to do so via the Start Screen UI.

How to create flipping tile effect inside an app for Windows Phone

I am developing an app which shows image and I want to provide important relevant information on the same image. Essentially, I want to create a flipping tile inside an app and later pin it to the start. Is it possible to have one?
Radcontrols Hubtile or Coding4Fun toolkit Hubtile is what you are looking for.
About creating secondary tiles on windows phone check this article.

Metro UI - create live tiles inside a page

Is there a way of creating live tiles in a page of Metro App? I want to simulate the tiles of the application inside a page. The tiles can flip to show more data, probably images too.
Edit: Ok, I am already aware that there is nothing done by default. Has anyone done this by himself trying to emulate the actual tiles?
Check out the Windows Animation library - it might simplify your task:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371981(v=vs.85).aspx

Categories