C# Windows Phone app full screen controls - c#

I am developing WP 10 application which includes playing videos in full screen mode. When I switch to full screen mode I want to have control buttons (play, stop...) visible on touch (at the moment they are hidden behind the full screen video). I'd appreciate if someone could give me some directions how to do it.
Here is an example of WP 10 official video application control bar. It appears if you tap screen and disappears after a second or two.
[WP10 official video app image][1]
EDIT:
Seems like new SDK has built in control bar and it's really simple to use.
Just add Media element attribute
AreTransportControlsEnabled="True"

Seems like new SDK has built in control bar and it's really simple to use. Just add Media element attribute
AreTransportControlsEnabled="True"

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

Windows Phone Custom Control Design and Implementation

I am working on a windows phone app, in which I will need to add a costom "cover-flow" kind of control like how it looks like in the Spotify app below:
Note: user can swipe from right to left to change song.
I don't think Windows Phone SDK provide any controls support this, so I was wondering how such a thing is implemented.
I think it is either faked by a pivot page with dynamically adding/deleting pivot items, or maybe it is a custom control.
If I want to implement this as a custom control, does anyone has experience about it, or any sample code/tutorial will be very helpful.
Thank you
You're looking at a Panorama control. It is available out of the box with the Windows Phone SDK.
Telerik makes a great control that does just this. It's called the SlideView control. I know it's not free, but it is only $99. Given that it might take you about 4-10 hours to create this control yourself, I'd say it's worth it. If you join the Nokia Premium Developer Program you get Telerik's controls for free.
Note: I do not work for Nokia or Telerik and this is NOT a paid advertisement :)
The swipping effect is because of Panorama page. to change music you need to handle gestures that will be a tough task . The solution is to find a hack or have some control in the background that registers the touch event and changes the music

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.

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.

How to make transition on DataContex change?

I have a simple wp7 app with 3 pages. I've made page transition to work (with built-in transitions from TransitionService (slide, rotate roll...) as shown in this simple tutorial. On one of my phone page, I bind few different ViewModels (only one is visible). Also, there I have a button which change DataContex (visible ViewModel). All of that work perfectly. What I want to do is to input somekind of transition on DataContex change (as I have on phone page navigation), so it would appear that the user is navigating on other page.
I appreciate any advice.
Christian Schormann demos creating page transitions in his Mix talk CL02. Download the video in high res format and play it locally will make it easy to follow.
Alternatively, you could make use of the Transition control packaged with the November Windows Phone Toolkit to do this work for you. Discussed in more detail here.
Transitions for Windows Phone 7 - Will's Blog
Depending on what you want to animate you could look at using a StoryBoard.

Categories