←Select platform

RenderItemPlaceholder Method (ImageViewerVirtualizer)

Summary

Render any optional place holder before the image data is obtained.

Syntax
C#
VB
C++
abstract void RenderItemPlaceholder( 
   ImageViewerRenderEventArgs e 
) 
MustOverride Sub RenderItemPlaceholder( 
   ByVal e As ImageViewerRenderEventArgs 
) 
virtual void RenderItemPlaceholder( 
      ImageViewerRenderEventArgs^ e 
   ) abstract 

Parameters

e

Render event arguments to use.

Remarks

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.

Example

For an example, refer to ImageViewerVirtualizer.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly