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

Defines the fluent API for configuring PDFViewerMessagesDialogsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PDFViewerMessagesDialogsSettingsBuilder

Inheritance: objectPDFViewerMessagesDialogsSettingsBuilder

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

Constructors

PDFViewerMessagesDialogsSettingsBuilder method.

C#
public PDFViewerMessagesDialogsSettingsBuilder(PDFViewerMessagesDialogsSettings container)
Parameters:containerPDFViewerMessagesDialogsSettings

Properties

Gets the settings being configured.

C#
protected PDFViewerMessagesDialogsSettings Container { get; }

Methods

Specifies the text for the cancel button in dialog windows. This button closes dialogs without performing any action or saving changes.

C#
public PDFViewerMessagesDialogsSettingsBuilder Cancel(string value)
Parameters:valuestring

The value for Cancel

Returns:

PDFViewerMessagesDialogsSettingsBuilder

Returns the current PDFViewerMessagesDialogsSettingsBuilder instance.

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs.Cancel("Cancel"))
)
)

Specifies the localization messages for the export dialog that appears when using DPL processing. Contains text for dialog elements including title, file format options, and form labels.

C#
public PDFViewerMessagesDialogsSettingsBuilder ExportAsDialog(Action<PDFViewerMessagesDialogsExportAsDialogSettingsBuilder> configurator)
Parameters:configuratorAction<PDFViewerMessagesDialogsExportAsDialogSettingsBuilder>

The PDFViewerMessagesDialogsExportAsDialogSettingsBuilder for the exportasdialog setting.

Returns:

PDFViewerMessagesDialogsSettingsBuilder

Returns the current instance of PDFViewerMessagesDialogsSettingsBuilder .

Specifies the text for the confirmation button in dialog windows. This button is used to confirm actions and close dialogs with positive results.

C#
public PDFViewerMessagesDialogsSettingsBuilder OkText(string value)
Parameters:valuestring

The value for OkText

Returns:

PDFViewerMessagesDialogsSettingsBuilder

Returns the current PDFViewerMessagesDialogsSettingsBuilder instance.

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages =&gt; messages
.Dialogs(dialogs =&gt; dialogs.OkText("OK"))
)
)

Specifies the text for the save/download button in export and file dialogs. This button initiates the file save or download operation.

C#
public PDFViewerMessagesDialogsSettingsBuilder Save(string value)
Parameters:valuestring

The value for Save

Returns:

PDFViewerMessagesDialogsSettingsBuilder

Returns the current PDFViewerMessagesDialogsSettingsBuilder instance.

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages =&gt; messages
.Dialogs(dialogs =&gt; dialogs.Save("Save"))
)
)

Specifies the localization messages for the search dialog that appears when users perform text searches within PDF documents. Contains text for search controls and navigation buttons.

C#
public PDFViewerMessagesDialogsSettingsBuilder Search(Action<PDFViewerMessagesDialogsSearchSettingsBuilder> configurator)
Parameters:configuratorAction<PDFViewerMessagesDialogsSearchSettingsBuilder>

The PDFViewerMessagesDialogsSearchSettingsBuilder for the search setting.

Returns:

PDFViewerMessagesDialogsSettingsBuilder

Returns the current instance of PDFViewerMessagesDialogsSettingsBuilder .