PDFViewerMessagesDialogsSettingsBuilder

Methods

ExportAsDialog(System.Action)

Parameters

configurator - System.Action<PDFViewerMessagesDialogsExportAsDialogSettingsBuilder>

The action that configures the exportasdialog.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Title("Export...")) 
                    )
                )
             )
             

OkText(System.String)

Parameters

value - System.String

The value that configures the oktext.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.OkText("OK"))
                )
             )
             

Save(System.String)

Parameters

value - System.String

The value that configures the save.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.Save("Save"))
                )
             )
             

Cancel(System.String)

Parameters

value - System.String

The value that configures the cancel.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.Cancel("Cancel"))
                )
             )
             

Search(System.Action)

Parameters

configurator - System.Action<PDFViewerMessagesDialogsSearchSettingsBuilder>

The action that configures the search.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.Close("Custom Close Message")) 
                    )
                )
             )