I have a custom WPF window defined as:
Here's some minimal code that does what you're after.
This window behaves like a usual window in that it can be:
It also has a drop shadow.
The end result looks like this: