Display custom Windows phone dialog - windows-phone-7

I'm developing a windows phone app and I want to pop up a dialog when a button is clicked.That dialog will be custom and contain some information. In android it is simple, could I do it in windows phone?

You can make use of popup control create a UI element of your need and add as child to the popup window and make the isopen property to true to show the dialog. For more information look here http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.popup%28v=vs.95%29.aspx

Related

How can I make the taskbar icon for my app move to the same display as the app?

Starting with Windows 8, there is a taskbar settings called Show taskbar buttons on where the user can control where the taskbar buttons are displayed when multiple displays are being used. How can I get my application to obey the Taskbar where window is open setting instead of always displaying on only the main taskbar?
The app in question is written in VB6 but I imagine this question might apply to other older frameworks as well.

Opening a pop-up windows when app bar is opened in windows phone 8

I am looking for a way to open a custom popup when appbar is opened on windows phone 8. What event shall i capture via which i can open the popup along with the appbar. Thank you in advance.
You need to capture the StateChanged event of the ApplicationBar. More on this here:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.shell.applicationbar.statechanged%28v=vs.105%29.aspx

How to program a toolbar on top of windows phone keyboard?

I'd like to add a "hide button" each time the keyboard shows up so that user can see all the screen when he needs to.
In iPhone this toolbar exists, is it possible to do the same for windows phone anyhow ?
You cannot change the default keyboard. Still here is a tutorial to create a custom keyboard on Windows Phone 7.

windows phone 7 how to navigate to settings menu

I have a windows phone 7 app that uses GPS to track user position. Now the user can disable this feature through the phone's setting menu. the app handles this disabling fine and gives them a message. This is all pretty standard windows phone stuff.
My question is whether I can navigate (inside the app) to the settings menu so that the user can enable phone location services? Ideally I would give them a link or a button that they touch and they are then taken out of the app to the settings menu. They would then click 'back' and return to the app.
No, at the moment, there's no way to fire up the Settings menu from inside your app.
Try this:
Windows.System.Launcher.LaunchUriAsync(new Uri(“ms-settings-location:”));
Not sure if it works on WP7 though.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662937(v=vs.105).aspx

wp7 listpicker on button click?

In windows phone 7, I want to show a full screen mode of a listpicker control on a button click (ideally application bar button click). Is it possible to do that?
I do not want to display the listpicker as it is kind of redundant in my app. I could have something like "goto" in the application bar and when the user clicks on it, show a listpicker fullscreen mode directly. Thanks.
Correct me if I'm wrong but if all you want is a ListPicker, but without any of the functionality of the picker - just the list of items - isn't what you want just a ListBox?
You could lay a ListBox control over the top of the entire phone page with it's Visibility to Collapsed. When the user presses your application bar button change the Visibility to Visible and your list will appear in full screen. When the user selects an item, set the Visibility back to Collapsed to have the ListBox disappear again.
If I'm understanding you correctly that should give the effect that you are looking for.

Resources