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. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document