I would like to completely create my docking control and the panes inside dynamically at runtime. For some reason I am having a difficult time understanding the parent/child relationship of some of these controls. What I am looking to do is to create a docking control with evenly sized panes that can be used in a dashboard type screen. Meaning it would layout more like a grid. However, the client could re-arrange and save the layout however he/she desired. Are there any c# examples that I could draw from?
As an example this code throws an error. The only thing that is static xaml is the HomPageDocking control.
As an example this code throws an error. The only thing that is static xaml is the HomPageDocking control.
RadSplitContainer splitContainer =
new
RadSplitContainer();
WebBrowser browser =
new
WebBrowser();
browser.Navigate(
"http://www.facebook.com"
);
RadPane browserPane =
new
RadPane();
browserPane.Header =
"Facebook Widget"
;
browserPane.Content = browser;
splitContainer.Items.Add(browserPane);
this
.HomePageDocking.Items.Add(splitContainer);
Rod