user1744147
user1744147

Reputation: 1147

How to programatically close ContentDialog in Windows 10 UWP?

I need to programatically close the dialog with either primary or secondary button action from another button in the content dialog.

Upvotes: 6

Views: 1860

Answers (1)

RicardoPons
RicardoPons

Reputation: 1353

you need to call Hide method to close the contentDialog from your button

Upvotes: 8

Related Questions