.net - How do make modal dialog in WPF? -


i writing first application in wpf , want have user input data on modal dialog window. apparently, not simple in wpf, because parent window stays enabled, , method created new child window doesn't stop , wait child window call close(). instead keeps going forward. not want.

how can child window open, , have parent window wait child close before parent window continues executing?

did try showing window using showdialog method?

don't forget set owner property on dialog window main window. avoid weird behavior when alt+tabbing, etc.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -