In my program I have a TabControl with multiple tabs and in each tab there could be a dialog that the user may open at any time. I use the dialogs to allow the user to enter stuff into a database. I wish to replicate the look and functionality of the original ContentDialog but not be limited to only having 1 open at a time.
The idea would be something along the lines of a panel that floats over the rest of the tab control item(but not the whole app window) and denies interaction with anything in that tab control below it (but not the whole program) until closed.
The current limitations on ContentDialog's according to Microsoft:
"There can only be one ContentDialog open per thread at a time. Attempting to open two ContentDialogs will throw an exception, even if they are attempting to open in separate app windows."
What would be the best way to go about this?
One way to achieve what you are trying to do without the
ContentDialog
is to show a layer on top of your tab content and on top of that layer show what you wanted to show on theContentDialog
.For example: