1

How do I made that after clicking on PrimaryButtonClick my ContentDialog don't close?

private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
{

}
Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
goodniko
  • 163
  • 3
  • 14

1 Answers1

2

Set Cancel property to true:

args.Cancel = true;
Backs
  • 24,430
  • 5
  • 58
  • 85
kkyr
  • 3,785
  • 3
  • 29
  • 59