Skip to content

Tabbed document interface

Robin edited this page Jan 7, 2016 · 5 revisions

WikiTabbed document interface

DarkDockPanel is the control you use to create a tabbed document interface. The dock panel itself contains 4 DarkDockRegion controls - Left, Right, Bottom, and Document. Each of these regions can be assigned DarkDockContent which will then be further divided in to a DarkDockGroup control which allows for tabbing between visible content.

Ultimately the majority of this functionality occurs under the hood. All you really need to care about is creating the DarkDockPanel on the form you want to have your tabbed interface, and then creating the various documents and tool windows which it will contain.

Creating a DarkDockPanel

The DarkDockPanel control is easy enough to add. It'll appear in the toolbox with all the other DarkUI components and can be simply dragged on to a form.

Toolbox

It won't look like much, but set the Dock property to Fill and we'll go over how to create content for it.

Clone this wiki locally