PDFViewerMessagesDialogsSearchSettingsBuilder

Methods

Close(System.String)

Sets the text for the close button in the search dialog.

Parameters

value - System.String

The value that configures the close.

Example

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

DragHandle(System.String)

Specifies the tooltip text for the drag handle element of the search dialog. This allows users to reposition the search dialog by dragging it to different locations.

Parameters

value - System.String

The value that configures the draghandle.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.DragHandle("Drag search")) 
                    )
                )
             )
             

InputLabel(System.String)

Sets the label text for the search input field in the search dialog.

Parameters

value - System.String

The value that configures the inputlabel.

Example

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

MatchCase(System.String)

Sets the text for the match case checkbox in the search dialog.

Parameters

value - System.String

The value that configures the matchcase.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.MatchCase("Match Case")) 
                    )
                )
             )
             

Next(System.String)

Sets the text for the next button in the search dialog.

Parameters

value - System.String

The value that configures the next.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.Next("Next Match")) 
                    )
                )
             )
             

Previous(System.String)

Sets the text for the previous button in the search dialog.

Parameters

value - System.String

The value that configures the previous.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.Previous("Previous Match")) 
                    )
                )
             )
             

Of(System.String)

Sets the text that appears between search result numbers (e.g., "1 of 5" results).

Parameters

value - System.String

The value that configures the of.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.Of("of {0}")) 
                    )
                )
             )