PDFViewerToolbarSettingsItemBuilder

Methods

Type(System.String)

Parameters

value - System.String

The value for Type

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Overflow(System.String)

Parameters

value - System.String

The value for Overflow

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Command(System.String)

Default commands in the PDF Viewer are: OpenCommand; PageChangeCommand; DownloadCommand; EnableSelectionCommand; EnablePanCommand; ExportCommand; PrintCommand; OpenSearchCommand or ZoomCommand.

Parameters

value - System.String

The value for Command

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Name(System.String)

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

Parameters

value - System.String

The value for Name

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Click(System.String)

Specifies the click event handler of the button.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Click(System.Func)

Specifies the click event handler of the button.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Toggle(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Toggle(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Togglable(System.Boolean)

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

Parameters

value - System.Boolean

The value for Togglable

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Togglable()

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

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Text(System.String)

Sets the text of the button.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Template(System.String)

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

Parameters

value - System.String

The value for Template

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

TemplateId(System.String)

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

Parameters

templateId - System.String

The ID of the template element for Template

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

TemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

ShowText(System.String)

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

Parameters

value - System.String

The value for ShowText

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Primary(System.Boolean)

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

Parameters

value - System.Boolean

The value for Primary

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Primary()

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

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

HtmlAttributes(System.Collections.Generic.IDictionary)

Specifies the HTML attributes of a ToolBar button.

Parameters

value - System.Collections.Generic.IDictionary<String,Object>

The value for HtmlAttributes

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

HtmlAttributes(System.Object)

Specifies the HTML attributes of a ToolBar button.

Parameters

value - System.Object

The value for HtmlAttributes

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Enable(System.Boolean)

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

Parameters

value - System.Boolean

The value for Enable

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Hidden(System.Boolean)

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

Parameters

value - System.Boolean

The value for Hidden

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Hidden()

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

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

SpriteCssClass(System.String)

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

Parameters

value - System.String

The value for SpriteCssClass

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

ImageUrl(System.String)

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

Parameters

value - System.String

The value for ImageUrl

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

ShowIcon(System.String)

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

Parameters

value - System.String

The value for ShowIcon

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Icon(System.String)

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

Parameters

value - System.String

The value for Icon

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.

Id(System.String)

Specifies the ID of the button.

Parameters

value - System.String

The value for Id

RETURNS

Returns the current PDFViewerToolbarSettingsItemBuilder instance.