eraseBackground Event

Summary

Occurs when the control's background needs to be erased.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype,'eraseBackground',  
	get: function(), 
	set: function(value) 
) 
function eraseBackground.add(function(sender, e)); 
function eraseBackground.remove(function(sender, e)); 
TypeScript Syntax
eraseBackground: void; 

Remarks

Users who are performing custom drawing using OwnerDraw can attach to this event and erase the control's background when this event is fired.

For more information, refer to Image Viewer Rendering.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eImageViewerRenderEventArgsThe event data.
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 Assembly