In WPF, I often used this construct:
SomeChildWindow dlg = new SomeChildWindow();
dlg.ShowDialog();
...
//child window is closed either by "this.DialogResult = true;" or just by "Close();"
//and in Parent window after Child window is closed we can use condition based on that
...
if (dlg.DialogResult == true)
{
//do something
}
But in Silverlight, this approach does not work.
What is the alternative for Silverlight for this? I mean, how is it supposed to get feedback from a child window in Silverlight?
source
share