New to Telerik UI for BlazorStart a free 30-day trial

Definition

Constructors

C#
public PdfViewerToolBar()

Properties

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.

C#
[Parameter]
public RenderFragment ChildContent { get; set; }
C#
[CascadingParameter]
public TelerikPdfViewer PdfViewer { get; set; }

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters:firstRenderboolReturns:

Task

Overrides: ComponentBase.OnAfterRenderAsync(bool)

C#
protected override Task OnInitializedAsync()
Returns:

Task

Overrides: ComponentBase.OnInitializedAsync()

C#
protected override Task OnParametersSetAsync()
Returns:

Task

Overrides: ComponentBase.OnParametersSetAsync()