Skip to main content

ASPxClientWebDocumentViewerBeforeRenderEventHandler<Sender> Interface

A method that will handle the ASPxClientWebDocumentViewer.BeforeRender event.

Declaration

interface ASPxClientWebDocumentViewerBeforeRenderEventHandler<Sender> { (source: Sender, previewModel: ASPxClientWebDocumentViewerRenderModelEventArgs): void; }

Parameters

Name Type Description
source Sender

The event sender.

previewModel ASPxClientWebDocumentViewerRenderModelEventArgs

A client-side Document Viewer model.

Remarks

When creating a ASPxClientWebDocumentViewerBeforeRenderEventHandler<Sender> delegate, identify a method that will handle corresponding events.

To associate an event with an event handler, add a delegate instance to the event.

The event handler is called whenever the event occurs, unless the delegate is removed.