Kendo.Mvc.UI.PDFViewerToolbarSettingsItem

Defines the fluent API for configuring the PDFViewerToolbarSettingsItem settings.

Properties

Type

Overflow

Command

Default commands in the PDFViewer are: OpenCommand; PageChangeCommand or DownloadCommand.

Name

Specifies the tool's name. Tool definition will be taken from the default collection - kendo.pdfviewer.DefaultTools

Click

Specifies the click event handler of the button.

Toggle

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable: true.

Togglable

Specifies if the button is togglable, e.g. has a selected and unselected state.

Text

Sets the text of the button.

Template

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

TemplateId

The id for the Template

ShowText

Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Primary

Specifies whether the button is primary. Primary buttons receive different styling.

HtmlAttributes

Specifies the HTML attributes of a ToolBar button.

Enable

Specifies whether the control is initially enabled or disabled. Default value is "true".

Hidden

Determines if a button is visible or hidden. By default buttons are visible.

SpriteCssClass

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

ImageUrl

If set, the ToolBar will render an image with the specified URL in the button.

ShowIcon

Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Icon

Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.

Id

Specifies the ID of the button.

Methods

Serialize(System.Collections.Generic.IDictionary<System.String,System.Object>)

Serialize current instance to Dictionary

In this article
Not finding the help you need?