I am using WPF and I have my window background set to transparency. I still wanted to do a Windows drop shadow, but I want to use the standard Windows drop shadow.
Does anyone know what the settings should be ?
I tried to look inside of the SingleBorderWindow style but I could not find it.
Does anyone know where is it at ?
I didn't see anything about the drop show settings.
Also, every time I make a Custom window, when I maximize the window it goes in to the neighboring monitors. So I started adding
<Margin="5,5,5,5" > at my outer most grid or Canvas.
is that right ?
Here is my code for maximize:
public void SetFullScreen()
{
_currentWindow.WindowState = WindowState.Maximized;
WindowRestoreTwoBoxVisibility = Visibility.Visible;
WindowRestoreOneBoxVisibility = Visibility.Collapsed;
}
Does anyone know the correct way for making a custom window?