ClassRadPdfViewerToolBar
Represents a customizable toolbar for the RadPdfViewer control, providing various PDF viewing and manipulation functionalities such as opening, saving, printing, rotating, navigating pages, zooming, and adding signatures. The toolbar allows developers to show or hide specific buttons and options based on user needs. It utilizes dependency properties to manage the visibility of toolbar elements and provides methods for applying themes and updating visibility dynamically.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.FixedDocumentViewersUI.dll
Syntax:
[TelerikToolboxCategory("Documents")]
public class RadPdfViewerToolBar : Control
Inheritance: objectRadPdfViewerToolBar
Constructors
RadPdfViewerToolBar()
Initializes a new instance of the RadPdfViewerToolBar class.
Declaration
public RadPdfViewerToolBar()
Fields
HasAISummaryProperty
Determines whether the AI Summary button is visible.
Declaration
public static readonly DependencyProperty HasAISummaryProperty
Field Value
DependencyProperty
HasClockwiseButtonProperty
Determines whether the clockwise button is visible.
Declaration
public static readonly DependencyProperty HasClockwiseButtonProperty
Field Value
DependencyProperty
HasCounterclockwiseButtonProperty
Determines whether the counterclockwise button is visible.
Declaration
public static readonly DependencyProperty HasCounterclockwiseButtonProperty
Field Value
DependencyProperty
HasFitToPageButtonProperty
Determines whether the fit-to-page button is visible.
Declaration
public static readonly DependencyProperty HasFitToPageButtonProperty
Field Value
DependencyProperty
HasFitToWidthButtonProperty
Determines whether the fit-to-width button is visible.
Declaration
public static readonly DependencyProperty HasFitToWidthButtonProperty
Field Value
DependencyProperty
HasOpenButtonProperty
Determines whether the open button is visible.
Declaration
public static readonly DependencyProperty HasOpenButtonProperty
Field Value
DependencyProperty
HasPageDownButtonProperty
Determines whether the page down button is visible.
Declaration
public static readonly DependencyProperty HasPageDownButtonProperty
Field Value
DependencyProperty
HasPageUpButtonProperty
Determines whether the page up button is visible.
Declaration
public static readonly DependencyProperty HasPageUpButtonProperty
Field Value
DependencyProperty
HasPagesCountGroupProperty
Determines whether the pages count group is visible.
Declaration
public static readonly DependencyProperty HasPagesCountGroupProperty
Field Value
DependencyProperty
HasPanTextSelectionGroupProperty
Determines whether the pan / text selection group is visible.
Declaration
public static readonly DependencyProperty HasPanTextSelectionGroupProperty
Field Value
DependencyProperty
HasPercentComboBoxProperty
Determines whether the percent ComboBox is visible.
Declaration
public static readonly DependencyProperty HasPercentComboBoxProperty
Field Value
DependencyProperty
HasPrintButtonProperty
Determines whether the print button is visible.
Declaration
public static readonly DependencyProperty HasPrintButtonProperty
Field Value
DependencyProperty
HasSaveButtonProperty
Determines whether the save button is visible.
Declaration
public static readonly DependencyProperty HasSaveButtonProperty
Field Value
DependencyProperty
HasSignatureButtonProperty
Determines whether the signature button is visible.
Declaration
public static readonly DependencyProperty HasSignatureButtonProperty
Field Value
DependencyProperty
HasZoomInButtonProperty
Determines whether the zoom in button is visible.
Declaration
public static readonly DependencyProperty HasZoomInButtonProperty
Field Value
DependencyProperty
HasZoomOutButtonProperty
Determines whether the zoom out button is visible.
Declaration
public static readonly DependencyProperty HasZoomOutButtonProperty
Field Value
DependencyProperty
RadPdfViewerNavigationPaneProperty
Gets the associated RadPdfViewerNavigationPane property.
Declaration
public static readonly DependencyProperty RadPdfViewerNavigationPaneProperty
Field Value
DependencyProperty
RadPdfViewerProperty
Gets the associated RadPdfViewer property.
Declaration
public static readonly DependencyProperty RadPdfViewerProperty
Field Value
DependencyProperty
SignaturePanelProperty
Gets the associated SignaturePanel property.
Declaration
public static readonly DependencyProperty SignaturePanelProperty
Field Value
DependencyProperty
Properties
HasAISummary
Gets or sets a value indicating whether the AI Summary button is visible.
HasClockwiseButton
Determines whether the clockwise button is visible.
HasCounterclockwiseButton
Determines whether the counterclockwise button is visible.
Declaration
public bool HasCounterclockwiseButton { get; set; }
Property Value
HasFitToPageButton
Determines whether the fit-to-page button is visible.
HasFitToWidthButton
Determines whether the fit-to-width button is visible.
HasOpenButton
Determines whether the open button is visible.
HasPageDownButton
Determines whether the page down button is visible.
HasPageUpButton
Determines whether the page up button is visible.
HasPagesCountGroup
Determines whether the pages count group is visible.
HasPanTextSelectionGroup
Determines whether the pan / text selection group is visible.
Declaration
public bool HasPanTextSelectionGroup { get; set; }
Property Value
HasPercentComboBox
Determines whether the percent ComboBox is visible.
HasPrintButton
Determines whether the print button is visible.
HasSaveButton
Determines whether the save button is visible.
HasSignatureButton
Determines whether the signature button is visible.
HasZoomInButton
Determines whether the zoom in button is visible.
HasZoomOutButton
Determines whether the zoom out button is visible.
RadPdfViewer
Gets the associated RadPdfViewer.
Declaration
public RadPdfViewer RadPdfViewer { get; set; }
Property Value
RadPdfViewerNavigationPane
Gets or sets the associated RadPdfViewerNavigationPane.
Declaration
public RadPdfViewerNavigationPane RadPdfViewerNavigationPane { get; set; }
Property Value
SignaturePanel
Gets the associated SignaturePanel.
Declaration
public SignaturePanel SignaturePanel { get; set; }
Property Value
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
This method in called when IsInitialized is set to true and it raises an Initialized event.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
ResetTheme()
Resets the theme of the RadPdfViewerToolBar to change it or to invalidate it.
Declaration
public void ResetTheme()