←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly