skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadPdfViewerNavigator

Represents a command bar control that provides navigation and interaction capabilities for PDF documents. The RadPdfViewerNavigator includes buttons for opening, printing, saving documents, as well as navigation controls, zoom functionality, search features, and viewing mode options. It can be associated with a RadPdfViewer to provide a complete PDF viewing experience.

Inheritance
System.Object
RadControl
RadCommandBar
RadPdfViewerNavigator
Inherited Members
RadCommandBar.OrientationChangingEventKey
RadCommandBar.OrientationChangedEventKey
RadCommandBar.CreateRootElement()
RadCommandBar.CreateCommandBarElement()
RadCommandBar.CreateChildItems(RadElement)
RadCommandBar.CreateAccessibilityInstance()
RadCommandBar.OnParentChanged(EventArgs)
RadCommandBar.OnMouseDown(MouseEventArgs)
RadCommandBar.OnOrientationChanging(CancelEventArgs)
RadCommandBar.OnOrientationChanged(EventArgs)
RadCommandBar.ProcessAutoSizeChanged(Boolean)
RadCommandBar.ControlDefinesThemeForElement(RadElement)
RadCommandBar.SetThemeCore()
RadCommandBar.SetOrientationCore(Orientation, Boolean)
RadCommandBar.SetBackColorThemeOverrides()
RadCommandBar.ResetBackColorThemeOverrides()
RadCommandBar.SetForeColorThemeOverrides()
RadCommandBar.ResetForeColorThemeOverrides()
RadCommandBar.GetPreferredSize(Size)
RadCommandBar.ProcessCodedUIMessage(IPCMessage)
RadCommandBar.AutoSize
RadCommandBar.CustomizeContextMenu
RadCommandBar.DragSize
RadCommandBar.CommandBarElement
RadCommandBar.Orientation
RadCommandBar.Text
RadCommandBar.OrientationChanging
RadCommandBar.OrientationChanged
RadCommandBar.FloatingStripCreating
RadCommandBar.FloatingStripDocking
RadCommandBar.FloatingStripCreated
RadCommandBar.FloatingStripDocked
RadControl.isResizing2
RadControl.isDisposing2
RadControl.invalidResizeRect
RadControl.isAccessibilityRequested
RadControl.Construct()
RadControl.CreateBehavior()
RadControl.InitializeRootElement(RootRadElement)
RadControl.LoadElementTree()
RadControl.LoadElementTree(Size)
RadControl.SetIsInitializing(Boolean)
RadControl.ShouldSerializeBackColor()
RadControl.ShouldSerializeForeColor()
RadControl.ShouldSerializeFont()
RadControl.OnKeyDown(KeyEventArgs)
RadControl.OnKeyUp(KeyEventArgs)
RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.OnKeyPress(KeyPressEventArgs)
RadControl.OnClick(EventArgs)
RadControl.OnDoubleClick(EventArgs)
RadControl.OnMouseUp(MouseEventArgs)
RadControl.OnMouseEnter(EventArgs)
RadControl.OnMouseLeave(EventArgs)
RadControl.OnMouseMove(MouseEventArgs)
RadControl.OnMouseHover(EventArgs)
RadControl.OnMouseWheel(MouseEventArgs)
RadControl.OnMouseCaptureChanged(EventArgs)
RadControl.OnGotFocus(EventArgs)
RadControl.OnLostFocus(EventArgs)
RadControl.OnCreateControl()
RadControl.OnHandleDestroyed(EventArgs)
RadControl.OnVisibleChanged(EventArgs)
RadControl.OnFontChanged(EventArgs)
RadControl.OnForeColorChanged(EventArgs)
RadControl.OnBackColorChanged(EventArgs)
RadControl.OnEnabledChanged(EventArgs)
RadControl.OnBindingContextChanged(EventArgs)
RadControl.OnLocationChanged(EventArgs)
RadControl.OnPaddingChanged(EventArgs)
RadControl.OnRightToLeftChanged(EventArgs)
RadControl.OnPaint(PaintEventArgs)
RadControl.OnLayout(LayoutEventArgs)
RadControl.OnAutoSizeChanged(EventArgs)
RadControl.WndProc(Message)
RadControl.OnInvalidated(RadElement)
RadControl.OnCaptureLosing()
RadControl.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.ProcessMnemonic(Char)
RadControl.ProcessFocusRequested(RadElement)
RadControl.ProcessCaptureChangeRequested(RadElement, Boolean)
RadControl.CallOnMouseCaptureChanged(EventArgs)
RadControl.CallBaseOnGotFocus(EventArgs)
RadControl.CallBaseOnLostFocus(EventArgs)
RadControl.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.CallOnMouseUp(MouseEventArgs)
RadControl.CallOnMouseDown(MouseEventArgs)
RadControl.CallOnClick(EventArgs)
RadControl.CallOnDoubleClick(EventArgs)
RadControl.CallOnMouseEnter(EventArgs)
RadControl.CallOnMouseWheel(MouseEventArgs)
RadControl.CallOnMouseLeave(EventArgs)
RadControl.CallOnMouseMove(MouseEventArgs)
RadControl.CallOnMouseHover(EventArgs)
RadControl.CallOnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.CallBaseOnKeyDown(KeyEventArgs)
RadControl.CallOnKeyDown(KeyEventArgs)
RadControl.CallBaseOnKeyPress(KeyPressEventArgs)
RadControl.CallOnKeyPress(KeyPressEventArgs)
RadControl.IsInputKey(Keys)
RadControl.GetInputElement()
RadControl.CallBaseOnKeyUp(KeyEventArgs)
RadControl.CallOnKeyUp(KeyEventArgs)
RadControl.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.CallOnVisibleChanged(EventArgs)
RadControl.BeginInit()
RadControl.EndInit()
RadControl.OnNotifyPropertyChanged(String)
RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadControl.IComponentTreeHandler.GetShowFocusCues()
RadControl.IComponentTreeHandler.CreateRootElement()
RadControl.IComponentTreeHandler.CreateChildItems(RadElement)
RadControl.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement, Rectangle)
RadControl.IComponentTreeHandler.InvalidateIfNotSuspended()
RadControl.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadControl.IComponentTreeHandler.ControlThemeChangedCallback()
RadControl.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadControl.IComponentTreeHandler.OnFocusRequested(RadElement)
RadControl.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadControl.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadControl.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadControl.GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
RadControl.OnZoomGesture(ZoomGestureEventArgs)
RadControl.OnRotateGesture(RotateGestureEventArgs)
RadControl.OnPanGesture(PanGestureEventArgs)
RadControl.OnTwoFingerTapGesture(GestureEventArgs)
RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadControl.OnGesture(GestureEventArgs)
RadControl.ProcessGesture(Message)
RadControl.EnableGesture(GestureType)
RadControl.DisableGesture(GestureType)
RadControl.Refresh()
RadControl.SuspendUpdate()
RadControl.ResumeUpdate()
RadControl.ResumeUpdate(Boolean)
RadControl.InvokeLayoutCallback(LayoutCallback)
RadControl.RegisterHostedControl(RadHostItem)
RadControl.UnregisterHostedControl(RadHostItem, Boolean)
RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)
RadControl.GetPlainText()
RadControl.CanEditUIElement(RadElement)
RadControl.GetChildAt(Int32)
RadControl.ShouldSerializeProperty(RadProperty)
RadControl.ShouldSerializeProperty(RadProperty, RadObject)
RadControl.ResetProperty(RadProperty, RadObject)
RadControl.CanEditElementAtDesignTime(RadElement)
RadControl.GetControlDefaultSize()
RadControl.GetDpiScaledSize(Size)
RadControl.GetDpiScaledSize(SizeF)
RadControl.FindPropertyInChildren(RadControl, IPCMessage)
RadControl.CallAccessibilityNotifyClients(AccessibleEvents, Int32)
RadControl.IPCHost.ProcessMessage(IPCMessage)
RadControl.ScaleControl(SizeF, BoundsSpecified)
RadControl.PerformRadAutoScale(Nullable<BoundsSpecified>)
RadControl.SetRadAutoScale(Boolean)
RadControl.IComponentTreeHandler.get_Name()
RadControl.IComponentTreeHandler.set_Name(String)
RadControl.EnableDpiScaling
RadControl.EnableRadAutoScale
RadControl.EnableRadFormInitialDpiScaling
RadControl.EnableImageDpiScaling
RadControl.EnableSvgImages
RadControl.IsTrial
RadControl.IsLoaded
RadControl.LayoutManager
RadControl.ElementTree
RadControl.UseCompatibleTextRenderingDefaultValue
RadControl.Behavior
RadControl.RootElement
RadControl.Padding
RadControl.ThemeName
RadControl.EnableTheming
RadControl.ThemeClassName
RadControl.ImageList
RadControl.ImageScalingSize
RadControl.UseCompatibleTextRendering
RadControl.MaximumSize
RadControl.MinimumSize
RadControl.Site
RadControl.CausesValidation
RadControl.IsInitializing
RadControl.SmallImageList
RadControl.SmallImageScalingSize
RadControl.IsDesignMode
RadControl.IsDisplayed
RadControl.FocusedElement
RadControl.AllowShowFocusCues
RadControl.ShowItemToolTips
RadControl.CommandBindings
RadControl.EnableKeyMap
RadControl.Font
RadControl.ValidationCancel
RadControl.IComponentTreeHandler.IsDesignMode
RadControl.IComponentTreeHandler.ElementTree
RadControl.IComponentTreeHandler.Behavior
RadControl.IComponentTreeHandler.Initializing
RadControl.IComponentTreeHandler.ThemeClassName
RadControl.EnableGestures
RadControl.EnableAnalytics
RadControl.AnalyticsName
RadControl.EnableRadAccessibilityObjects
RadControl.AccessibilityRequested
RadControl.EnableCodedUITests
RadControl.EnableCodedUITestsDefaultValue
RadControl.EnableUIAutomation
RadControl.EnableUIAutomationDefaultValue
RadControl.IPCHost.Context
RadControl.ElementInvalidated
RadControl.ToolTipTextNeeded
RadControl.ScreenTipNeeded
RadControl.ThemeNameChanged
RadControl.Initialized
RadControl.PropertyChanged
RadControl.ZoomGesture
RadControl.RotateGesture
RadControl.PanGesture
RadControl.TwoFingerTapGesture
RadControl.PressAndTapGesture
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.PdfViewer.dll

Syntax

[TelerikToolboxCategory("PdfViewer")]
public class RadPdfViewerNavigator : RadCommandBar, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider

Constructors

RadPdfViewerNavigator()

Initializes a new instance of the RadPdfViewerNavigator class with default controls and configuration.

Declaration
public RadPdfViewerNavigator()

RadPdfViewerNavigator(RadPdfViewer)

Initializes a new instance of the RadPdfViewerNavigator class and associates it with the specified RadPdfViewer.

Declaration
public RadPdfViewerNavigator(RadPdfViewer owner)
Parameters
RadPdfViewer owner

The RadPdfViewer control to associate with this navigator.

Properties

AssociatedViewer

Gets or sets the RadPdfViewer control that this navigator is associated with for providing navigation and control functionality.

Declaration
public RadPdfViewer AssociatedViewer { get; set; }
Property Value
RadPdfViewer

AssociatedViewerElement

Gets or sets the RadPdfViewerElement that this navigator directly controls for PDF viewing operations.

Declaration
public RadPdfViewerElement AssociatedViewerElement { get; set; }
Property Value
RadPdfViewerElement

BackColor

This property is not relevant for this class as the navigator consists of multiple visual elements with separate appearance settings.

Declaration
public override Color BackColor { get; set; }
Property Value
System.Drawing.Color

Overrides
RadCommandBar.BackColor

CurrentPageTextBox

Gets the text box that displays and allows editing of the current page number.

Declaration
public CommandBarTextBox CurrentPageTextBox { get; }
Property Value
CommandBarTextBox

DefaultSize

Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size

Overrides
RadCommandBar.DefaultSize

DefaultStrip

Gets the command bar strip element that contains the default set of navigation and control buttons.

Declaration
public CommandBarStripElement DefaultStrip { get; }
Property Value
CommandBarStripElement

Dock

Gets or sets the docking behavior of this navigator control within its parent container.

Declaration
public override DockStyle Dock { get; set; }
Property Value
System.Windows.Forms.DockStyle

Overrides
RadCommandBar.Dock

FindNextButton

Gets the button that searches for the next occurrence of the specified text in the document.

Declaration
public CommandBarButton FindNextButton { get; }
Property Value
CommandBarButton

FindPreviousButton

Gets the button that searches for the previous occurrence of the specified text in the document.

Declaration
public CommandBarButton FindPreviousButton { get; }
Property Value
CommandBarButton

FitToPageButton

Gets the toggle button that switches between fit-to-page mode and normal display mode.

Declaration
public CommandBarToggleButton FitToPageButton { get; }
Property Value
CommandBarToggleButton

FitToWidthButton

Gets the toggle button that switches between fit-to-width mode and normal display mode.

Declaration
public CommandBarToggleButton FitToWidthButton { get; }
Property Value
CommandBarToggleButton

Focusable

Gets or sets a value indicating whether this navigator control can receive input focus.

Declaration
public override bool Focusable { get; set; }
Property Value
System.Boolean

Overrides
RadControl.Focusable

ForeColor

This property is not relevant for this class as the navigator consists of multiple visual elements with separate appearance settings.

Declaration
public override Color ForeColor { get; set; }
Property Value
System.Drawing.Color

Overrides
RadCommandBar.ForeColor

HandToolButton

Gets the toggle button that activates the hand tool for panning and scrolling the document.

Declaration
public CommandBarToggleButton HandToolButton { get; }
Property Value
CommandBarToggleButton

NextButton

Gets the button that navigates to the next page in the document.

Declaration
public CommandBarButton NextButton { get; }
Property Value
CommandBarButton

OpenButton

Gets the button that opens PDF documents.

Declaration
public CommandBarButton OpenButton { get; }
Property Value
CommandBarButton

PreviousButton

Gets the button that navigates to the previous page in the document.

Declaration
public CommandBarButton PreviousButton { get; }
Property Value
CommandBarButton

PrintButton

Gets the button that prints the current PDF document.

Declaration
public CommandBarButton PrintButton { get; }
Property Value
CommandBarButton

PrintDocument

Gets the RadPrintDocument instance used for printing PDF documents through this navigator.

Declaration
public RadPrintDocument PrintDocument { get; }
Property Value
RadPrintDocument

RotateClockwiseButton

Gets the button that rotates the document clockwise.

Declaration
public CommandBarButton RotateClockwiseButton { get; }
Property Value
CommandBarButton

RotateCounterclockwiseButton

Gets the button that rotates the document counterclockwise.

Declaration
public CommandBarButton RotateCounterclockwiseButton { get; }
Property Value
CommandBarButton

Rows

Gets the collection of command bar row elements that define the layout structure of this navigator.

Declaration
public RadCommandBarLinesElementCollection Rows { get; }
Property Value
RadCommandBarLinesElementCollection

SaveButton

Gets the button that saves the PDF document.

Declaration
public CommandBarButton SaveButton { get; }
Property Value
CommandBarButton

SearchTextBox

Gets the text box that allows users to enter search terms for finding text within the document.

Declaration
public CommandBarTextBox SearchTextBox { get; }
Property Value
CommandBarTextBox

SelectToolButton

Gets the toggle button that activates the text selection tool for selecting text within the document.

Declaration
public CommandBarToggleButton SelectToolButton { get; }
Property Value
CommandBarToggleButton

ShowPrintPreview

Gets or sets a value indicating whether the print preview dialog is displayed before printing documents.

Declaration
public bool ShowPrintPreview { get; set; }
Property Value
System.Boolean

ShowSignatureButton

Gets the toggle button that shows or hides the digital signature panel for viewing document signatures.

Declaration
public CommandBarToggleButton ShowSignatureButton { get; }
Property Value
CommandBarToggleButton

TotalPagesLabel

Gets the label that displays the total number of pages in the document.

Declaration
public CommandBarLabel TotalPagesLabel { get; }
Property Value
CommandBarLabel

ZoomDropDown

Gets the drop-down list that allows selecting specific zoom levels for the document.

Declaration
public CommandBarDropDownList ZoomDropDown { get; }
Property Value
CommandBarDropDownList

ZoomInButton

Gets the button that increases the zoom level of the document.

Declaration
public CommandBarButton ZoomInButton { get; }
Property Value
CommandBarButton

ZoomOutButton

Gets the button that decreases the zoom level of the document.

Declaration
public CommandBarButton ZoomOutButton { get; }
Property Value
CommandBarButton

Methods

AddDefaultItems()

Creates and configures the default set of command bar items including buttons, text boxes, and separators for PDF navigation and control.

Declaration
protected virtual void AddDefaultItems()

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
RadControl.Dispose(Boolean)

InitializeZoomDropDown()

Initializes the zoom dropdown control with predefined zoom factor values and configures its event handlers.

Declaration
protected virtual void InitializeZoomDropDown()

LocalizeStrings()

Localizes the text and tooltip content of all navigator buttons and controls using the current localization provider.

Declaration
protected virtual void LocalizeStrings()

OnAssociatedViewerChanged()

Called when the associated PDF viewer changes and updates the navigator's state to reflect the new viewer's properties.

Declaration
protected virtual void OnAssociatedViewerChanged()

OnLoad(Size)

Called when the control is loaded and sets up the initial zoom dropdown sizing based on the current theme.

Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.Drawing.Size desiredSize

The desired size for the control.

Overrides
RadCommandBar.OnLoad(Size)

OnThemeChanged()

Called when the theme changes and updates the zoom control sizing and icon sets based on the new theme.

Declaration
protected override void OnThemeChanged()
Overrides
RadCommandBar.OnThemeChanged()

SetZoom(Single)

Sets the zoom level for the PDF document to the specified factor.

Declaration
protected void SetZoom(float factor)
Parameters
System.Single factor

The zoom factor to apply to the document.

SetZoomSize()

Sets the appropriate sizing constraints for the zoom dropdown control based on the current theme settings.

Declaration
protected virtual void SetZoomSize()

UnwireViewerEvents()

Unsubscribes from events of the previously associated PDF viewer element to prevent memory leaks and state conflicts.

Declaration
protected virtual void UnwireViewerEvents()

UpdateButtonsEnableState()

Updates the enabled state of search-related buttons based on whether search text is present.

Declaration
protected virtual void UpdateButtonsEnableState()

UpdateCurrentPage()

Updates the current page display to show the current page number from the PDF viewer.

Declaration
public void UpdateCurrentPage()

UpdatePageCount()

Updates the total page count display to show the total number of pages in the current document.

Declaration
public void UpdatePageCount()

UpdatePrintLandscapeMode()

Updates the print orientation based on the current document's page orientation.

Declaration
public virtual void UpdatePrintLandscapeMode()

WireViewerEvents()

Subscribes to events from the associated PDF viewer element to keep the navigator synchronized with viewer state changes.

Declaration
protected virtual void WireViewerEvents()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.