The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientWebDocumentViewerBeforeRenderEventHandler<Sender> Interface

A method that will handle the ASPxClientWebDocumentViewer.BeforeRender event.

Declaration

interface ASPxClientWebDocumentViewerBeforeRenderEventHandler<Sender>

Parameters

Name Type Description
source Sender

The event sender.

previewModel ASPxClientWebDocumentViewerRenderModelEventArgs

A client-side Document Viewer model.

Returns

Type Description
void

Type Parameters

Name Description
Sender

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.

To learn more, see the Events and Delegates topic in MSDN.