{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "pdfviewer-annotation-comments",
  "framework": "wpf",
  "type": "registry:component",
  "component": "PdfViewer",
  "variant": "annotation-comments",
  "dependencies": [
    "Syncfusion.PdfViewer.WPF"
  ],
  "description": "PdfViewer with annotation tools, comment filters, and toolbar for markup-based PDF review workflows.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/wpf/llms.txt",
    "skillPack": "syncfusion/wpf-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/wpf/pdfviewer-annotation-comments.md"
  },
  "files": [
    {
      "target": "src/components/pdfviewer-annotation-comments/PdfViewer.xaml",
      "content": "<UserControl\n    x:Class=\"AnnotationComments.MainWindow\"\n    xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n    xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n    xmlns:cc=\"clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF\"\n    xmlns:syncfusion=\"http://schemas.syncfusion.com/wpf\">\n\n    <Grid>\n        <Grid.RowDefinitions>\n            <RowDefinition Height=\"Auto\" />\n            <RowDefinition Height=\"*\" />\n        </Grid.RowDefinitions>\n\n        <!-- Toolbar with the annotation tools and the comment filters -->\n        <Border Grid.Row=\"0\"\n                Padding=\"10,6\"\n                Background=\"#F3F6FA\"\n                BorderBrush=\"#D5DCE4\"\n                BorderThickness=\"0,0,0,1\">\n            <Grid>\n                <Grid.ColumnDefinitions>\n                    <ColumnDefinition Width=\"Auto\" />\n                    <ColumnDefinition Width=\"*\" />\n                    <ColumnDefinition Width=\"Auto\" />\n                </Grid.ColumnDefinitions>\n\n                <StackPanel Grid.Column=\"0\" Orientation=\"Horizontal\">\n                    <TextBlock Margin=\"0,0,8,0\"\n                               VerticalAlignment=\"Center\"\n                               FontWeight=\"SemiBold\"\n                               Text=\"Annotation\" />\n                    <ComboBox x:Name=\"annotationToolCombo\"\n                              Width=\"150\"\n                              VerticalAlignment=\"Center\"\n                              DisplayMemberPath=\".\"\n                              SelectionChanged=\"annotationToolCombo_SelectionChanged\" />\n                </StackPanel>\n\n                <StackPanel Grid.Column=\"1\"\n                            Margin=\"16,0,0,0\"\n                            Orientation=\"Horizontal\"\n                            VerticalAlignment=\"Center\">\n                    <TextBlock Margin=\"0,0,8,0\"\n                               VerticalAlignment=\"Center\"\n                               Foreground=\"#4C5A67\"\n                               Text=\"Comment author\" />\n                    <TextBox x:Name=\"authorTextBox\"\n                             Width=\"170\"\n                             VerticalAlignment=\"Center\"\n                             TextChanged=\"authorTextBox_TextChanged\" />\n                    <Button x:Name=\"addCommentButton\"\n                            Margin=\"10,0,0,0\"\n                            Padding=\"14,4\"\n                            VerticalAlignment=\"Center\"\n                            Click=\"addCommentButton_Click\"\n                            Content=\"Add Comment\" />\n                </StackPanel>\n\n                <StackPanel Grid.Column=\"2\" Orientation=\"Horizontal\">\n                    <TextBlock Margin=\"0,0,8,0\"\n                               VerticalAlignment=\"Center\"\n                               Foreground=\"#4C5A67\"\n                               Text=\"Page\" />\n                    <TextBox x:Name=\"pageTextBox\"\n                             Width=\"48\"\n                             VerticalAlignment=\"Center\"\n                             Text=\"1\" />\n                    <Button x:Name=\"goToPageButton\"\n                            Margin=\"8,0,0,0\"\n                            Padding=\"12,4\"\n                            VerticalAlignment=\"Center\"\n                            Click=\"goToPageButton_Click\"\n                            Content=\"Go\" />\n                </StackPanel>\n            </Grid>\n        </Border>\n\n        <Grid Grid.Row=\"1\">\n            <Grid.ColumnDefinitions>\n                <ColumnDefinition Width=\"3*\" />\n                <ColumnDefinition Width=\"Auto\" />\n                <ColumnDefinition Width=\"2*\" />\n            </Grid.ColumnDefinitions>\n\n            <!-- The document with the annotation toolbar -->\n            <cc:PdfViewerControl x:Name=\"pdfViewer\"\n                                 Grid.Column=\"0\"\n                                 Margin=\"8\"\n                                 AllowDrop=\"True\"\n                                 BorderBrush=\"#D5DCE4\"\n                                 BorderThickness=\"1\"\n                                 EnableNotificationBar=\"True\"\n                                 ShowToolbar=\"True\"\n                                 WarnBeforeClose=\"False\"\n                                 ZoomMode=\"FitWidth\"\n                                 DocumentLoaded=\"pdfViewer_DocumentLoaded\" />\n\n            <GridSplitter Grid.Column=\"1\"\n                          Width=\"4\"\n                          HorizontalAlignment=\"Stretch\"\n                          VerticalAlignment=\"Stretch\"\n                          Background=\"#E4E9EF\" />\n\n            <!-- The comment threads that belong to the document -->\n            <Border Grid.Column=\"2\"\n                    Margin=\"0,8,8,8\"\n                    BorderBrush=\"#D5DCE4\"\n                    BorderThickness=\"1\"\n                    Background=\"White\">\n                <Grid>\n                    <Grid.RowDefinitions>\n                        <RowDefinition Height=\"Auto\" />\n                        <RowDefinition Height=\"*\" />\n                    </Grid.RowDefinitions>\n\n                    <Border Grid.Row=\"0\"\n                            Padding=\"10,8\"\n                            Background=\"#F3F6FA\"\n                            BorderBrush=\"#D5DCE4\"\n                            BorderThickness=\"0,0,0,1\">\n                        <TextBlock FontWeight=\"SemiBold\" Text=\"Comments\" />\n                    </Border>\n\n                    <ListBox x:Name=\"commentList\"\n                             Grid.Row=\"1\"\n                             BorderThickness=\"0\"\n                             ScrollViewer.HorizontalScrollBarVisibility=\"Disabled\">\n                        <ListBox.ItemTemplate>\n                            <DataTemplate>\n                                <Border Margin=\"4\" Padding=\"8\">\n                                    <Grid>\n                                        <Grid.RowDefinitions>\n                                            <RowDefinition Height=\"Auto\" />\n                                            <RowDefinition Height=\"Auto\" />\n                                            <RowDefinition Height=\"Auto\" />\n                                        </Grid.RowDefinitions>\n                                        <TextBlock Grid.Row=\"0\"\n                                                   FontWeight=\"SemiBold\"\n                                                   Foreground=\"#1F2933\"\n                                                   Text=\"{Binding Id}\" />\n                                        <TextBlock Grid.Row=\"1\"\n                                                   Margin=\"0,2,0,0\"\n                                                   TextWrapping=\"Wrap\"\n                                                   Foreground=\"#52606D\"\n                                                   Text=\"{Binding Message}\" />\n                                        <StackPanel Grid.Row=\"2\" Margin=\"0,4,0,0\" Orientation=\"Horizontal\">\n                                            <TextBlock Foreground=\"#7B8794\" Text=\"{Binding Author}\" />\n                                            <TextBlock Margin=\"8,0,0,0\" Foreground=\"#7B8794\" Text=\"{Binding Location}\" />\n                                            <TextBlock Margin=\"8,0,0,0\" FontWeight=\"SemiBold\" Text=\"{Binding Status}\" />\n                                        </StackPanel>\n                                    </Grid>\n                                </Border>\n                            </DataTemplate>\n                        </ListBox.ItemTemplate>\n                    </ListBox>\n                </Grid>\n            </Border>\n        </Grid>\n    </Grid>\n</UserControl>\n"
    }
  ]
}