PDFViewerToolbarSettingsItemTagHelper
Example
Razor
<pdfviewer-toolbar-item>
</pdfviewer-toolbar-item>
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Specifies the tool's name. Tool definition will be taken from the default collection - kendo.pdfviewer.DefaultTools |
| click | String | Specifies the click event handler of the button. |
| command | String | Default commands in the PDF Viewer are: OpenCommand; PageChangeCommand; DownloadCommand; EnableSelectionCommand; EnablePanCommand; ExportCommand; PrintCommand; OpenSearchCommand or ZoomCommand. |
| enable | Boolean | Specifies whether the control is initially enabled or disabled. Default value is "true". |
| hidden | Boolean | Determines if a button is visible or hidden. By default buttons are visible. |
| html-attributes | IDictionary<String,Object> | Specifies the HTML attributes of a ToolBar button. |
| icon | String | Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite. |
| id | String | Specifies the ID of the button. |
| image-url | String | If set, the ToolBar will render an image with the specified URL in the button. |
| overflow | String | |
| primary | Boolean | Specifies whether the button is primary. Primary buttons receive different styling. |
| show-icon | String | Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default). |
| show-text | String | Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default). |
| sprite-css-class | String | Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon. |
| template | String | Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type. |
| template-handler | String | Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type. This option expects the name of a JavaScript function that will be called to return the template. |
| template-id | String | Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type. This option expects the ID of the script element that contains the template. |
| template-view | IHtmlContent | Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type. This option expects the instance containing the created HTML. |
| text | String | Sets the text of the button. |
| togglable | Boolean | Specifies if the button is togglable, e.g. has a selected and unselected state. |
| toggle | String | Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable: true. |
| type | String |