BrandonWoodward / MVVMToolkitExtensions

MVVM utilities for MAUI and WPF.
MIT License
7 stars 1 forks source link

how to handle the result of dialogservice showdialog? #3

Open asine opened 11 months ago

asine commented 11 months ago

how to handle the result of showdialog like prism dialogservice?

BrandonWoodward commented 11 months ago

I have not yet got around to implementing this, you could use the WeakReferenceMessenger from the MVVM Toolkit to broadcast a message from the dialog in the mean time.

I will probably implement some kind of callback on the IDialogAware interface that is called when the dialog is closed.