←Select platform

RenderItemPlaceholder Method (ImageViewerVirtualizer)

Summary

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

Syntax
C#
C++
abstract void RenderItemPlaceholder( 
   ImageViewerRenderEventArgs e 
) 
vb[VB Syntax] 
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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.