# PDFViewerToolbarSettingsBuilder

## Methods

### ContextMenu(System.Boolean)

When this option is set to true, the toolbar will render a dropdown button as its first item. The dropdown will contain the open, download and print tools instead of them being rendered on the right-side of the toolbar.

#### Parameters

##### value - `System.Boolean`

The value for ContextMenu

#### RETURNS

Returns the current [PDFViewerToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbarsettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .Toolbar(toolbar => toolbar.ContextMenu(true))
             )
             
```

### ContextMenu()

When this option is set to true, the toolbar will render a dropdown button as its first item. The dropdown will contain the open, download and print tools instead of them being rendered on the right-side of the toolbar.

#### RETURNS

Returns the current [PDFViewerToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbarsettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .Toolbar(toolbar => toolbar.ContextMenu(true))
             )
             
```

### Items(System.Action)

The following list indicates the default tools: pager; zoomInOut; zoom; toggleSelection; search; open; download; print or annotations. For DPL Processing exportAs tool could be configured to export a single page to .png or .svg.

#### Parameters

##### configurator - System.Action<[PDFViewerToolbarSettingsItemFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbarsettingsitemfactory)>

The configurator for the items setting.

#### RETURNS

Returns the current instance of [PDFViewerToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbarsettingsbuilder) .

### Overflow(System.Action)

Specifies Toolbar.overflow configuration for the toolbar.

#### Parameters

##### configurator - System.Action<[PDFViewerToolbarOverflowSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbaroverflowsettingsbuilder)>

The configurator for the overflow setting.

#### RETURNS

Returns the current instance of [PDFViewerToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewertoolbarsettingsbuilder) .
