WPF - Easier way to fullscreen
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Is this feature request related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? **No**
Currently, the only way I know how to fullscreen my wpf application is:
**WindowStyle=None** and **WindowState=Maximized** (and **Topmost=True**, though this is just needed to make sure it's above everything else).
One tricky thing that can arise, custom window chrome. If I set WindowStyle=None to enable my custom window chrome, then maximizing my application will fullscreen it instead, causing me to have to write complicated code to track the task bar's location and height, and then add some kind of negative bottom margin or something like that.
Ideally, windows would be able to IsFullscreen = true, and that wouldn't just be WindowStyle.None + WindowState.Maximized to avoid the custom chrome issue.
Contributor guide
Assessment
This issue has not been assessed yet.