locked
How to pass parameter on back button of windows store app

    Question

  • hey guys,

    I was having issue finding a way to pass parameter on back button on windows store app which is default on basic page.

    so is there anyway to pass parameters ???

    thanks in advance for helping. 

    Thursday, November 27, 2014 4:52 PM

Answers

  • There is no way to pass parameters backward.

    You can set a static proprty in App.xaml.cs to pass something.


    在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。


    Thursday, November 27, 2014 5:23 PM
  • Hi usmankai,

    There is no way to pass parameters with back button.

    But you can use global variable to hold the parameter. then you can aces that value in any where in the entire project

    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    ---------------------------------------

    M Prabath Maduranga Peiris
    Microsoft Partner  and MSP/MSA
    Blogs : prabathsl.blogspot.com

    Friday, November 28, 2014 10:29 AM

All replies

  • There is no way to pass parameters backward.

    You can set a static proprty in App.xaml.cs to pass something.


    在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。


    Thursday, November 27, 2014 5:23 PM
  • Hi usmankai,

    There is no way to pass parameters with back button.

    But you can use global variable to hold the parameter. then you can aces that value in any where in the entire project

    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    ---------------------------------------

    M Prabath Maduranga Peiris
    Microsoft Partner  and MSP/MSA
    Blogs : prabathsl.blogspot.com

    Friday, November 28, 2014 10:29 AM