Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerVirtualizer Class : RenderItemPlaceholder Method |
protected internal abstract void RenderItemPlaceholder( ImageViewerRenderEventArgs e )
'Declaration
Protected Friend MustOverride Sub RenderItemPlaceholder( _ ByVal e As ImageViewerRenderEventArgs _ )
This method is called while an item is being loaded and the image data has not been obtained yet.
Derived classes can render a visual hint to the user to indicate that the item is being loaded.
You should encapsulate the code inside this method with a try/catch and handle the error correctly. This method will not automatically fire the ItemError event.
For an example, refer to ImageViewerVirtualizer.