Class
PdfViewerToolBar

Definition

Constructors

PdfViewerToolBar()

Declaration

public PdfViewerToolBar()

Properties

ChildContent

The content of the toolbar, typically containing toolbar items. Children: PdfViewerToolBarOpenTool An open command that shows in a submenu upon a hamburger menu click. Fires the OnOpen event. PdfViewerToolBarDownloadTool A download command that shows in a submenu upon a hamburger menu click. Fires the OnDownload event. PdfViewerToolBarPrintTool A print command that shows in a submenu upon a hamburger menu click. The component also provides a Print method. Printing uses an additional browser window with only the PDF document inside. This window may require user confirmation or appropriate browser settings to display. PdfViewerToolBarPagerTool A pager to navigate the PDF document via automatic scrolling. Paging requires the Height parameter to be set, otherwise the component expands and doesn't have its own scrollbar. PdfViewerToolBarZoomTool Zoom in and zoom out buttons with an additional dropdown with common options (Fit to page, Fit to width, 100%, etc.). PdfViewerToolBarSelectionTool Two toggle buttons that enable either text selection or panning. PdfViewerToolBarSearchTool A search button. It opens an additional search bar that contains a textbox and arrow buttons to navigate the search results. PdfViewerToolBarAnnotationsTool A button that toggles the Annotations bar. Explore the available annotation types and how to work with them. PdfViewerToolBarSeparator Renders a vertical line. This is not included in the Toolbar by default but you can use it to visually separate the desired tools. PdfViewerToolBarSpacer Consumes the available empty space and pushes the rest of the tools next to one another. PdfViewerToolBarCustomTool In addition to built-in tools, the PDF Viewer also supports custom tools. Use the PdfViewerToolBarCustomTool tag, which is a standard Blazor RenderFragment.

Declaration

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

PdfViewer

Declaration

[CascadingParameter]
public TelerikPdfViewer PdfViewer { get; set; }

Property Value

TelerikPdfViewer

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

public void Dispose()

Implements IDisposable.Dispose()

OnAfterRenderAsync(bool)

Declaration

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides ComponentBase.OnAfterRenderAsync(bool)

OnInitializedAsync()

Declaration

protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()