Window Size when SizeToContent is not specified
- by moogs
When the following XAML used, the window size is not 5000x5000, but some small window where the button is cropped.
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" >
<Button Width="5000"…