Occurs when the virtualizer has an item ready to be rendered.
public event EventHandler<ImageViewerVirtualizerEventArgs> VirtualizeItemReady
Public Event VirtualizeItemReady As EventHandler(Of Leadtools.Controls.ImageViewerVirtualizerEventArgs)
public:
event EventHandler<Leadtools::Controls::ImageViewerVirtualizerEventArgs^>^ VirtualizeItemReady
This event is raised through Virtualizer after LoadItem returns the image data of an item. The viewer will automatically invalidate the item area so it can be re-rendered and the place holder replaced with the actual image data.
You can use subscribe to this event to perform the following:
Track when an image data of an item is ready for debugging or logging purposes.
Replace the default implementation described above. Set the value of ImageViewerVirtualizerEventArgs.IsHandled to true to stop the viewer from invalidated the area of the item to be re-rendered.
For an example, refer to ImageViewerVirtualizer.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | ImageViewerVirtualizerEventArgs | The event data. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET