I would like to let the user choose their options after a button is clicked. For example, showing two buttons, \"Restart Now\" and \"Restart Later\" in a modal popup window
XAML
Popup Text
c#
Popup codePopup = new Popup();
TextBlock popupText = new TextBlock();
popupText.Text = "Popup Text";
popupText.Background = Brushes.LightBlue;
popupText.Foreground = Brushes.Blue;
codePopup.Child = popupText;
you can find more details about the Popup Control from MSDN documentation.
MSDN documentation on Popup control