I'm new to .Net 3.0 so I may not be set up correctly and that may be the cause of this problem. Sept. CTP is my first install of .NET 3.0. I'm running on Windows Server 2003.
Here's the steps:
1) I create a new WPF Windows Application and get Window1.xaml.
2) I drag a DockPanel onto Window1.xaml. I get the DockPanel frame.
3) I drag a Button onto DockPanel but it does not become nested within the DockPanel container. In the XAML both DockPanel and Button are child elements of the Grid element. Button is not a child element of the DockPanel element in the XAML. I get the same behavior with StackPanel and controls I drag onto it. They do not become nested within the container panel.
I saw a demo webcast with Mark and Chris where Chris did the same steps and the Button automatically docked to a side. When I drag the Button within the DockPanel it never docks, it just gets dragged outside the DockPanel's frame.
Can you tell me what I am doing wrong?
|