In the WPF app I'm writing, to replace an old VB6 app, there are a few places in the app in which it has to collect some text data from the user. Let me explain.
In the old VB6 app we've got several combo boxes which lists all of the items that the user can select from. However, since this is for an intake situation, sometimes the clients that the user of our application is working with, will say something
which isn't in the dropdown, nor is it in the database. In such situations the user selects "Other", and then a simple Windows dialog box pops up, asking the user to enter whatever it is that is new, that the client is telling them. This gets stored
in a separate table for these exceptional cases.
This paradigm has worked fine for the last 15 years. However, user interfaces have changed, and I believe users expectations have too. What I would like to do is something I've seen done dozens of times on websites. Sometimes, when the
user does something which requires the user to pay particular attention to it, then the whole web page fades and then the thing the user is supposed to work with is front and center. My guess is what's going on is the web designer has put a hidden <div>
element on the page, and then when the user has to do something special, the page fades and, using JavaScript the hidden <div> element is made visible and is centered on the page. That way the user knows they've got to enter data, or whatever,
and click on some sort of OK button. Then the data is put wherever it's got to go and this <div> element is made invisible again, and lastly the page is no longer made dim.
I would like to do the same thing with WPF, but how do I do that?