ClassPdfViewerToolBar
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class PdfViewerToolBar : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBasePdfViewerToolBar
Implements:
Inherited Members
Constructors
PdfViewerToolBar()
Declaration
public PdfViewerToolBar()
Properties
ChildContent
Children: Customize the PDF Viewer toolbar by adding built-in tools and custom components to enhance user interaction. Built-in toolbar tools provide essential PDF viewing functionality: PdfViewerToolBarOpenTool - Enables file opening through upload interface, triggering the OnOpen event for file validation and processing. PdfViewerToolBarDownloadTool - Provides PDF download functionality, triggering the OnDownload event for filename customization and download control. PdfViewerToolBarPrintTool - Initiates browser-based printing in a new window. Requires the Height parameter for proper document scrolling and paging. PdfViewerToolBarPagerTool - Enables page navigation with automatic scrolling. Requires Height to be set for scrollable viewing area. PdfViewerToolBarZoomTool - Provides zoom controls with preset options (Fit to page, Fit to width, percentage values) and custom zoom buttons. PdfViewerToolBarSelectionTool - Toggle buttons for text selection and panning interaction modes, affecting how users interact with document content. PdfViewerToolBarSearchTool - Opens search functionality with text input, match navigation, and case-sensitive search options. PdfViewerToolBarAnnotationsTool - Activates annotation tools for highlighting text and adding comments when AnnotationMode supports annotations. Layout and customization tools: PdfViewerToolBarSeparator - Visual separator for grouping related tools and improving toolbar organization. PdfViewerToolBarSpacer - Flexible space that pushes subsequent tools to the right, enabling custom toolbar layouts. PdfViewerToolBarCustomTool - Container for custom functionality using standard Blazor RenderFragment content.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
PdfViewer
Declaration
[CascadingParameter]
public TelerikPdfViewer PdfViewer { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public void Dispose()
Implements