locked
How to close the Windows.UI.Popups.MessageDialog ?

    Question

  • Hi Guys,

    Is it possible to close the Windows.UI.Popups.MessageDialog() with out user intervention ?

    Monday, March 19, 2012 6:12 AM

Answers

  • Hi P,

    You could do this manually or better yet, this is what a Flyout can be used for. 

    Flyout sample           

    -Jeff


    Jeff Sanders (MSFT)


    Tuesday, March 20, 2012 12:08 PM
    Moderator

All replies

  • Hi P,

    No.  Think of the Message dialog as a block to the user interface flow.  It should be used sparingly.  If you find yourself needting to close this without the use interacting with this dialog, you may want to reconsider using it as a user interface object in that particular situation.

    -Jeff


    Jeff Sanders (MSFT)

    Monday, March 19, 2012 1:13 PM
    Moderator
  • Hi Jeff,

    Thanks for the sparing time.

    Basically I have a requirement just to show few lines on the fly (like popup) and vanish in seconds, Could you please advice ?

    -P

    Tuesday, March 20, 2012 6:57 AM
  • Hi P,

    You could do this manually or better yet, this is what a Flyout can be used for. 

    Flyout sample           

    -Jeff


    Jeff Sanders (MSFT)


    Tuesday, March 20, 2012 12:08 PM
    Moderator