Back to Devexpress

WebDocumentViewerBuilder.ClientSideEvents(Action<WebDocumentViewerClientSideEventsBuilder>) Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-dot-webdocumentviewerbuilder-dot-clientsideevents-x28-action-webdocumentviewerclientsideeventsbuilder-x29.md

latest3.4 KB
Original Source

WebDocumentViewerBuilder.ClientSideEvents(Action<WebDocumentViewerClientSideEventsBuilder>) Method

Provides access to the WebDocumentViewerClientSideEventsBuilder object that allows you to handle the client-side events specific to the Web Document Viewer.

Namespace : DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly : DevExpress.AspNetCore.Reporting.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
public WebDocumentViewerBuilder ClientSideEvents(
    Action<WebDocumentViewerClientSideEventsBuilder> configure
)
vb
Public Function ClientSideEvents(
    configure As Action(Of WebDocumentViewerClientSideEventsBuilder)
) As WebDocumentViewerBuilder

Parameters

NameTypeDescription
configureAction<WebDocumentViewerClientSideEventsBuilder>

A Action<T> delegate method that allows you to assign handlers to the client-side events using the methods exposed by the WebDocumentViewerClientSideEventsBuilder object, which is passed as the delegate parameter.

|

Returns

TypeDescription
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

|

Remarks

When defining the delegate method, use the WebDocumentViewerClientSideEventsBuilder object that is passed as a parameter. This object exposes methods whose names correspond to the events available to the Web Document Viewer on the client side. These methods provide the capability to handle these events by passing JavaScript functions as the methods’ parameters.

See Also

WebDocumentViewerBuilder Class

WebDocumentViewerBuilder Members

DevExpress.AspNetCore.Reporting.WebDocumentViewer Namespace