# pdfviewer-esigning-pdf-forms

> PdfViewer with e-signature support and PDF form fields for document signing and data collection.

**Framework:** wpf  **Component:** PdfViewer  **Variant:** esigning-pdf-forms

## 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-esigning-pdf-forms.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-esigning-pdf-forms/PdfViewer.xaml

```xaml
<UserControl
    x:Class="EsigningPdfForms.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 signer selection and the signing action -->
        <Border Grid.Row="0"
                Padding="12,8"
                Background="#F3F6FA"
                BorderBrush="#D5DCE4"
                BorderThickness="0,0,0,1">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>

                <StackPanel Grid.Column="0" Orientation="Horizontal">
                    <TextBlock Margin="0,0,8,0"
                               VerticalAlignment="Center"
                               FontWeight="SemiBold"
                               Text="Signer" />
                    <ComboBox x:Name="signerCombo"
                              Width="240"
                              VerticalAlignment="Center"
                              DisplayMemberPath="Name"
                              SelectionChanged="signerCombo_SelectionChanged" />
                </StackPanel>

                <StackPanel Grid.Column="1"
                            Margin="16,0,0,0"
                            Orientation="Horizontal"
                            VerticalAlignment="Center">
                    <TextBlock x:Name="SigningStepTextBlock"
                               VerticalAlignment="Center"
                               Foreground="#52606D" />
                </StackPanel>

                <Button x:Name="finishSigningButton"
                        Grid.Column="2"
                        Padding="16,6"
                        VerticalAlignment="Center"
                        Click="finishSigningButton_Click"
                        Content="Finish Signing" />
            </Grid>
        </Border>

        <!-- The signable form -->
        <cc:PdfViewerControl x:Name="pdfViewer"
                             Grid.Row="1"
                             Margin="8"
                             AllowDrop="True"
                             BorderBrush="#D5DCE4"
                             BorderThickness="1"
                             ShowToolbar="False"
                             WarnBeforeClose="False"
                             ZoomMode="FitPage"
                             DocumentLoaded="pdfViewer_DocumentLoaded" />
    </Grid>
</UserControl>

```
