Skip to main content
All docs
V21.2

How to create a TabbedGroup and DocumentGroup groups

This example shows how to create TabbedGroup and DocumentGroup objects. The TabbedGroup contains two LayoutPanel objects, and the DocumentGroup contains two DocumentPanel objects.

View Example

<!--Create a Tabbed Group consisting of two tabs-->
<dxdo:TabbedGroup SelectedTabIndex="1">
    <dxdo:LayoutPanel x:Name="paneOutput" Caption="Output">
        <RichTextBox />
    </dxdo:LayoutPanel>

    <dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results">
        <RichTextBox />
    </dxdo:LayoutPanel>
</dxdo:TabbedGroup>
<!--Create a Document Group containing two DocumentPanels-->
<dxdo:DocumentGroup x:Name="documentGroup1" SelectedTabIndex="1">
    <dxdo:DocumentPanel Caption="Document 1">
        <RichTextBox />
    </dxdo:DocumentPanel>
    <dxdo:DocumentPanel Caption="Document 2">
        <RichTextBox />
    </dxdo:DocumentPanel>
</dxdo:DocumentGroup>