⚠️ If you haven't downloaded and installed the package, take a look at Downloading and installing
DialogContainer
A DialogContainer is a control that will hold your dialogs.
Add it to your Window (or other control) as you would for any other element. Make sure it is visible and on top of the others.
Window
<Window xmlns:dialogs="clr-namespace:SimpleDialogs.Controls;assembly=SimpleDialogs" [OTHER STUFF]> <Grid> [YOUR OTHER ELEMENTS] <dialogs:DialogContainer /> </Grid> </Window>
After creating a container, you can show a dialog using DialogManager.ShowDialogAsync(object sender, BaseDialog dialog).
DialogManager.ShowDialogAsync(object sender, BaseDialog dialog)
To hide a specific dialog, use DialogManager.CloseDialog(BaseDialog dialog)
DialogManager.CloseDialog(BaseDialog dialog)
There was an error while loading. Please reload this page.