-
Notifications
You must be signed in to change notification settings - Fork 1
Quick start
Maurício Vielmo Schmaedeck edited this page Aug 9, 2019
·
5 revisions
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 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)
.
To hide a specific dialog, use DialogManager.CloseDialog(BaseDialog dialog)