x:Class="SizingPrecedenceSampleCSharp.SizingWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Title="Sizing Window" Name="window"> WindowState: MinWidth: MinHeight: SizeToContent: MaxWidth: MaxHeight: Width: Height: Actual Width: Actual Height: