←Select platform

IsHandled Property

Summary

Indicates whether the viewer should perform the default action when a virtualizer item is ready

Syntax
C#
C++/CLI
public bool IsHandled { get; set; } 
public:  
   property bool IsHandled 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

false if the viewer should perform the default action when a virtualizer item is ready, otherwise; true to indicate that the action was handled and the viewer should render the item.

Remarks

VirtualizeItemReady 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.

Requirements

Target Platforms

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

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.