I’m learning WPF, so bear with me.
I would like to have my WPF application flash in the user’s face if a certain event is fired.
What is the best way to “notify” the user? I really want the user to react!
Cheers, Patrick
Environment: Windows7/64bit/.Net4
If you want the user to react you can force them to by simply opening a modal dialogue. The most lightweight of which being the MessageBox. You can also create normal modal windows using their
ShowDialogmethod, you can make those windows as “fancy” as you want by getting rid of their normal appearance. This is achieved by setting theWindowStyletoNoneandAllowsTransparencytotrue, this will remove all the frame elements, so the window is now pure content.Popupsare handy for non-modal notifications and they already are content-only, but setting theirAllowsTransparencyto true may also be desired if you want rounded corners for example.