I m trying to create a simple dialog -type window in WPF. However, for this specific instance, I do not want the client area to have a border, or even a background for that matter. I just want my controls to appear over the background of the window the way they do with a simple MessageBox.
I played with the different values for WindowStyle
but they all called out the client area with a color. I also tried simply setting the client s Background
to transparent, but that didn t work either just rendering it in black.
Here s a crappy Photoshop job showing what I m after:
Note: I m not after the messagebox contents themselves--e.g. the icon, buttons and message, etc.--I m only asking about how to suppress the client area from appearing in any window. I just happened to use a messagebox as an example as someone linked to it in their answer.
https://i.stack.imgur.com/EwZ16.png” alt=“No/67/ area”/>
As you can see (or rather can t) there is no visible demarcation of the client area.
在温Forms,情况非常简单,但世界森林论坛我 st。 谁?