Talk:How to use Pop-Ups in Windows Phone

From Nokia Developer Wiki
Jump to: navigation, search


Hamishwillee - Minor subedit and suggestions

Hi Vishaili

Thanks for the article. I've given it a minor subedit. Firstly I moved the images to the introduction which makes it more obvious what the article is "about" even earlier.

I then made some minor changes for wiki style - we tend to use :

  • bold style for button presses and filenames and button presses.
  • either italic or bold for dialog names (ie "References").
  • First time we mention a class/namespace/method "in text" we link to it, and if it is used again we mark it up with Icode template.

Please be aware that for Windows Phone on this wiki we always try to improve on the materials in MSDN and the general literature - there isn't much point just having basic examples that don't add much over the reference. So when you write an article, please "add value" as much as possible.

Here are some specific suggestions to help you improve this even further, so that will be better than what is on MSDN:

  1. Please link to the documentation for using Popups in your abstract (ie the specific class API reference - is it this one?)
  2. If there is some official "guide" on using Popups, or any other articles you recommend on the topic then please use a Template:SeeAlso to link to them
  3. You say that it is possible to create a popup in XAML or C# - please show both ways. Explain if there are any benefits in creating the control dynamically in code - why would you use XAML or C#?
  4. Explain how to get the results back from the popup and use them in your program (could just write to console). This is a key part of using any dialog type control
  5. Are there any rules for destruction of the object, or is the standard behaviour to simply hide and display it?
  6. Say something about the contents of the popup - ie here you have just defined a bordered stackpanel. Are there any rules about what you can put in the panel?
  7. In the popup you've chosen to use a green borderbrush. Would you not be better off using a colour you know would work with the theme? So perhaps use a theme resource or the accent colour. It is always a useful tip to remind people to use theme aware controls.
  8. It is probably good for popups to be dismissed by pressing the back button. If this is not done automatically, show how this can be done in WP7
  9. You have (wisely) stated some cases where using apopups make sense. Is there any way of explaining what makes a popup a "good idea" to use as opposed to some other control?

Does that make sense?



hamishwillee 04:42, 18 September 2012 (EEST)

Hamishwillee - PS ArticleMetaData

Excellent to see you've used the ArticleMetaData. One note, in the "devices" section don't put "All devices", but specifically list the actual devices you tested on. For example, did you test on the Lumia 800? Did you only test on the Simulator?

hamishwillee 04:43, 18 September 2012 (EEST)

Vaishali Rawat - @ Hamishwillee

Thanks for your suggestions and i tried incorporating few of them.



Vaishali Rawat 15:15, 18 September 2012 (EEST)

Hamishwillee - Thanks - you have done well

Much appreciated!

I have subedited to add more headings and to explain in more detail what the article (now) covers. I have removed the FeaturedArticle template - the moderators will add this if they choose to feature the article.



hamishwillee 09:41, 19 September 2012 (EEST)

Pooja 1650 - Renaming article?

Hi Vaishali | Hamish,

I have tested the article against WP8, it's working fine. Edited the ArticleMetaData as well. So, do you think we should rename the article as How to use Pop-Ups in Windows Phone?



pooja_1650 14:30, 27 May 2013 (EEST)

Hamishwillee - Done

Thanks Pooja - excellent idea. I've done this for you, and also added the "Windows Phone 8" category.

hamishwillee 02:55, 28 May 2013 (EEST)

Pooja 1650 - Thanks

Thanks Hamish

pooja_1650 07:49, 28 May 2013 (EEST)

GrigoryPerepechko - Popups violate WP guidelines

Any popup won't pass Nokia Design Review. Better not to waste time on things that are considered as bad practice if wan't to write an app for Windows Phone and not to port smth from other platforms.

GrigoryPerepechko 12:17, 5 June 2013 (EEST)

Hamishwillee - Where is the review documented

Hi Grigory

Which nokia design review would that be, how does this map to Microsoft design guidance and Marketplace acceptance? Is this criteria for acceptance onto the device firmware or something else?

It is important to document any non technical barriers to using a component, and the scope/impact of those issues.



hamishwillee 10:05, 10 June 2013 (EEST)

Vaishali Rawat - Me too would like to see docs

Hi GrigoryPerepechko

I would also like to see any official document mentioning this. Can you please provide some link?



Vaishali Rawat 09:11, 12 June 2013 (EEST)

SB Dev -

The App certification requirements for Windows Phone as can be seen here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh184843%28v=vs.105%29.aspx should be the only guideline that applies to passing or failing certification. I can't find anything on popups there (given that the control supports using the back button to close it).

However the popup styling as shown here doesn't really adhere visually to how popups like MessageBoxes are done by the OS itself (and the majority of third party controls). It should be relatively easy to change the styling of the popup control to be in line with that though.

SB Dev (talk) 15:38, 8 November 2013 (EET)