New to Telerik UI for WPF? Start a free 30-day trial

Default UI

Updated on Nov 9, 2026

Use the predefined user interface (UI) of RadPdfViewer to add PDF viewing commands to your application. RadPdfViewerToolBar provides page navigation, zoom, and buttons to open, save, and print documents.

RadPdfViewerNavigationPane displays navigation panels, including the document's bookmarks. Add the components you need with the Visual Studio designer, then customize the toolbar and context menu.

RadPdfViewer with default UI, RadPdfViewerNavigationPane, and context menu

PDF document with a toolbar, navigation pane, and context menu

Adding RadPdfViewer with Predefined UI to Your Application

Before you begin, configure your Windows Presentation Foundation (WPF) project with the references described in Getting Started with RadPdfViewer. Include the dialogs and additional UI references, not only the minimal viewer references. For NuGet applications that use Xaml binaries, install Telerik.Windows.Controls.FixedDocumentViewersUI.for.Wpf.Xaml. For NoXaml applications, follow the package and theme guidance in the getting-started article.

The designer's component-selection dialog is available starting with R1 2018.

To add the viewer and choose its UI components:

  1. Drag RadPdfViewer from the Visual Studio Toolbox to the XAML (Extensible Application Markup Language) designer.
  2. Select the components you need in the component-selection dialog and select OK to generate the XAML.

The dialog provides the following options:

  • Add ToolBar—Adds RadPdfViewerToolBar with PDF viewing commands. Clear this option to omit the toolbar.

  • Add Signature Panel—Adds a panel that shows validation results for documents with digital signatures.

  • Add Context Menu—Adds the viewer's context menu.

  • Add Find Dialog—Adds the Find Dialog for document searches.

  • Add Signature Properties Dialog—Adds the Signature Properties Dialog.

  • Add Sign Signature Dialog—Adds the Sign Signature Dialog.

  • Add Navigation Pane—Adds RadPdfViewerNavigationPane to display the document's bookmarks.

Choose the components you would like to use

Component-selection dialog with checkboxes for the toolbar, panels, context menu, and dialogs

Example 1 shows the XAML generated when you select all options.

[XAML] Example 1: Default UI

XAML

	<Grid>
	    <Grid.RowDefinitions>
	        <RowDefinition Height="Auto"/>
	        <RowDefinition Height="Auto"/>
	        <RowDefinition/>
	    </Grid.RowDefinitions>
	    <telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" SignaturePanel="{Binding ElementName=signaturePanel, Mode=OneTime}"/>
	    <telerik:SignaturePanel x:Name="signaturePanel" PdfViewer="{Binding ElementName=pdfViewer, Mode=OneWay}" Grid.Row="1"/>
	    <Grid Grid.Row="2">
	        <Grid.ColumnDefinitions>
	            <ColumnDefinition Width="Auto"/>
	            <ColumnDefinition Width="*"/>
	        </Grid.ColumnDefinitions>
	        <telerik:RadPdfViewerNavigationPane RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}"/>
	        <telerik:RadPdfViewer x:Name="pdfViewer" Grid.Column="1" DataContext="{Binding CommandDescriptors, ElementName=pdfViewer}" telerik:RadPdfViewerAttachedComponents.RegisterSignSignatureDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterSignaturePropertiesDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterContextMenu="True"/>
	    </Grid>
	</Grid>

Customizing the Default UI

Use the toolbar properties to show or hide existing buttons and sections. For custom buttons or layout changes, replace the toolbar with editable XAML.

For project prerequisites, see Getting Started with RadPdfViewer.

Adding and Removing Buttons and Sections from RadPdfViewerToolBar

RadPdfViewerToolBar exposes properties that show or hide parts of its UI. Select the toolbar in the Visual Studio designer and open the Properties window to find the available options.

Toolbar customization options in the Visual Studio Properties window

Checkboxes for showing or hiding RadPdfViewerToolBar buttons and sections

The default value for all of the ToolBar Customization options is true. Clear an option to set the corresponding property in XAML to false. Example 2 shows these properties in XAML.

[XAML] Example 2: Using the properties of RadPdfViewerToolBar

XAML

	<telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" 
	                                HasPrintButton="False" HasSaveButton="False" HasSignatureButton="False" 
	                                HasZoomOutButton="False" HasZoomInButton="False" HasPercentComboBox="False" 
	                                HasPanTextSelectionGroup="False" HasPageUpButton="False" HasPagesCountGroup="False" 
	                                HasPageDownButton="False" HasOpenButton="False" HasFitToWidthButton="False" 
	                                HasFitToPageButton="False" HasCounterclockwiseButton="False" HasClockwiseButton="False"/>

Customizing the Template of RadPdfViewerToolBar

To add a custom button or change the toolbar layout, replace RadPdfViewerToolBar with editable XAML:

  1. Right-click RadPdfViewerToolBar in the Visual Studio designer.
  2. Select Replace RadPdfViewerToolBar with Editable XAML from the context menu.

Replace RadPdfViewerToolBar with editable XAML option of the Visual Studio designer's context menu

Designer context menu command for replacing the PDF viewer toolbar with editable markup

This operation replaces the RadPdfViewerToolBar instance with its generated XAML. The extracted markup no longer receives the toolbar control's automatic UI updates or styling support. Use the toolbar properties instead when you only need to show or hide existing buttons.

Customizing the Template of the Default Context Menu

To edit the default context menu's XAML:

  1. Right-click RadPdfViewer in the Visual Studio designer.
  2. Select Replace Default Context Menu with Editable XAML from the context menu.

For context-menu configuration details, see the context menu documentation.

See Also