GregJ7
Member
- Joined
- Nov 23, 2024
- Messages
- 20
- Programming Experience
- 10+
Any idea why a newly created WPF project with some attributes added to the window draws with a white background (immediately overdrawn with a black one)? In my mind a window with a white background wouldn't ever even exist—at least at a time when any drawing is done.
Thanks.
C#:
<Window x:Class="GridMazeEditor.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:GridMazeEditor"
mc:Ignorable="d"
Title="Grid Maze Editor" Width="1250" Height="1000" Background="Black" Loaded="MainWindow_Loaded" SizeChanged="MainWindow_SizeChanged">
</Window>