I need to show the message on message box.For this there is a method Showmessage.from view model class i need to change the messagebox image by keeping MVVM pattern.Message box image should not be exposed to view model.But i need to change the icon according to message type.
I tried my adding an enum and pass it on method.this enum is accessiblr for both UI and VM.Any other better solution?
New contributor
Hanna is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.