# pdfviewer-multi-tabbed-viewer

> Multi-tabbed PDF viewer using PdfViewer with independent document tabs and shared toolbar.

**Framework:** wpf  **Component:** PdfViewer  **Variant:** multi-tabbed-viewer

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/wpf/pdfviewer-multi-tabbed-viewer.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.PdfViewer.WPF
```

**Notes**

- Syncfusion release: 2026 Volume 3 (v35.1.37)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/pdfviewer-multi-tabbed-viewer/PdfViewer.xaml

```xaml
<UserControl
    x:Class="MultiTabbedViewer.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cc="clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF"
    xmlns:syncfusion="http://schemas.syncfusion.com/wpf">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <!-- The toolbar of the active document -->
        <Border Grid.Row="0"
                Padding="10,6"
                Background="#F3F6FA"
                BorderBrush="#D5DCE4"
                BorderThickness="0,0,0,1">
            <DockPanel>
                <StackPanel DockPanel.Dock="Left" Orientation="Horizontal">
                    <TextBlock Margin="0,0,8,0"
                               VerticalAlignment="Center"
                               FontWeight="SemiBold"
                               Text="Page" />
                    <TextBox x:Name="currentPageTextBox"
                             Width="44"
                             VerticalAlignment="Center"
                             TextAlignment="Center" />
                    <TextBlock Margin="4,0,4,0" VerticalAlignment="Center" Text="/" />
                    <TextBlock x:Name="totalPageCountTextBlock"
                               Margin="0,0,14,0"
                               VerticalAlignment="Center" />
                    <Button x:Name="firstPageButton"
                            Margin="0,0,4,0"
                            Padding="10,4"
                            Click="firstPageButton_Click"
                            Content="|&lt;" />
                    <Button x:Name="previousPageButton"
                            Margin="0,0,4,0"
                            Padding="10,4"
                            Click="previousPageButton_Click"
                            Content="&lt;" />
                    <Button x:Name="nextPageButton"
                            Margin="0,0,4,0"
                            Padding="10,4"
                            Click="nextPageButton_Click"
                            Content="&gt;" />
                    <Button x:Name="lastPageButton"
                            Padding="10,4"
                            Click="lastPageButton_Click"
                            Content="&gt;|" />
                </StackPanel>

                <StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
                    <TextBlock Margin="0,0,8,0"
                               VerticalAlignment="Center"
                               Foreground="#52606D"
                               Text="Zoom" />
                    <ComboBox x:Name="zoomComboBox"
                              Width="80"
                              VerticalAlignment="Center"
                              SelectionChanged="zoomComboBox_SelectionChanged" />
                </StackPanel>
            </DockPanel>
        </Border>

        <!-- The tabbed document container -->
        <syncfusion:DocumentContainer x:Name="documentContainer"
                                      Grid.Row="1"
                                      IsAllowMDIResize="False"
                                      IsInMDIMaximizedState="True"
                                      Mode="TDI">
            <cc:PdfDocumentView x:Name="pdfViewer1"
                                AllowDrop="True"
                                BorderBrush="#D5DCE4"
                                BorderThickness="1"
                                ToolTip="" />
            <cc:PdfDocumentView x:Name="pdfViewer2"
                                AllowDrop="True"
                                BorderBrush="#D5DCE4"
                                BorderThickness="1"
                                ToolTip="" />
            <cc:PdfDocumentView x:Name="pdfViewer3"
                                AllowDrop="True"
                                BorderBrush="#D5DCE4"
                                BorderThickness="1"
                                ToolTip="" />
        </syncfusion:DocumentContainer>
    </Grid>
</UserControl>

```
