A small helper Library to use with MaterialDesignInXamlToolkit, it allows displaying some common dialogs and returning a result.
For each dialog type there are a specific class, which you can instansiate and configure depending on the dialog type.
Example:
varconfig=newAlertDialogConfiguration{Title="Confirm",SupportingText="This is a Alert dialog which requires User intervention to proceed",DialogButtons=DialogButtons.YesNo,IconKind=PackIconKind.Alert,ShowAdditionalOption=true,AdditionalOptionText="Don't show this again",IsAdditionalOptionCheched=false};vardialog=newAlertDialog(config);varresult=awaitdialog.Show("Root");Result=$"{result}, {dialog.AdditionalOptionChecked}";Buttons can be :
- OK,
- YesNo
- OKCancel
- RetryCancel
- YesNoCancel
- AbortRetryIgnore
Icon is of type PackIcon so you can use any icon kind from MaterialDesigninXamlToolkit. It is also possible to set the foreground brush of the Icon.
- Add localization support for different languages
- Add support for custom Dialog with up to three buttons




