Need for Object Model Documentation

Docking/MDI for WPF Forum

Posted 16 years ago by Matthias Mueller
Avatar
I would like to get a better understanding of what object layout sits in the background.

-Matthias

Comments (4)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Unfortunately we don't have any documentation yet for the beta, but I can give you a brief object overview here. Note that names could change before final release.

ToolWindowContainer is the control that represents one or more ToolWindows tab docked together. You can place a ToolWindowContainer as a child of DockSite.AutoHideLeftItems to make it an auto-hidden tool window group.

To make hierarchies of tool windows, you use SplitContainer as a child of DockSite. Then you can put other SplitContainers in that SplitContainer. It has an Orientation property. You can put ToolWindowContainers in as children of the SplitContainers.

Finally, when you want to have an MDI area or even an area that just hosts some other arbitrary content, put an MdiHost control in the SplitContainer. It is a ContentControl and you can put anything you wish in there. Note that this may eventually be renamed to a Workspace or a new base class introduced as Workspace.

Within MdiHost, we currently only have tabbed MDI but will likely add other types of MDI in the future. To do tabbed MDI, add a TabbedMdiRootContainer and then within that, one or more TabbedMdiContainers. Each one of those can contain multiple DocumentWindow classes.

As mentioned in the beta notes, tool windows aren't allowed in the document area yet however that will be resolved before final release.

Hope this helps get you going!


Actipro Software Support

Posted 16 years ago by Matthias Mueller
Avatar
yep, helped a lot!

-Matthias
Posted 16 years ago by Matthias Mueller
Avatar
And what happens after I did a rearangement/docking of some tool windows?
What happens to the object model?
Will I get new ToolWindowContainer and SplitContainer instances having different IDs?

Can a ToolWindowContainer contain other ToolWindowContainers or SplitContainers?

-Matthias
Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes other new ToolWindowContainers and SplitContainers will be generated as needed. ToolWindowContainers can only contain ToolWindows. SplitContainers are what are used to arrange child SplitContainers and other containers.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.