New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the PDFViewerToolbarSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PDFViewerToolbarSettings : JsonObject

Inheritance: objectJsonObjectPDFViewerToolbarSettings

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialization for the PDFViewerToolbarSettings

C#
public PDFViewerToolbarSettings()

Properties

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.

C#
public bool? ContextMenu { get; set; }

Toolbar option accepts a Boolean value which indicates if the toolbar will be displayed or an Object with items. Inherits Kendo UI Toolbar.

C#
public bool Enabled { get; set; }

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.

C#
public List<PDFViewerToolbarSettingsItem> Items { get; set; }

Specifies Toolbar.overflow configuration for the toolbar.

C#
public PDFViewerToolbarOverflowSettings Overflow { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)