Class
PdfViewerToolBar

Definition

Constructors

PdfViewerToolBar()

Declaration

cs-api-definition
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

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

PdfViewer

Declaration

cs-api-definition
[CascadingParameter]
public TelerikPdfViewer PdfViewer { get; set; }

Property Value

TelerikPdfViewer

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides ComponentBase.OnAfterRenderAsync(bool)

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()