This makes logical sense, right? I wanted the two TextPanels to be of Height 15 and then the Listbox to fill the rest of the area. So, I wrote the code you see above. However, when I ran the XAML, the layout was all goofed up and the TextPanel that was supposed to be on the bottom was being rendered all wrong. What did I do wrong? Answer to the quiz on Monday!

The docking model is the same as in the current .NET framework, isn’t it? That means you first put a text panel on the top, then fill the rest with a listbox, and then come to the conclusion there is no more room for the bottom panel, because the listbox already extends to the bottom… Probably the bottom textpanel gets draw over the listbox instead of below it.