eraseBackground Event

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype,'eraseBackground',  
	get: function(), 
	set: function(value) 
) 
eraseBackground: LeadEvent; 
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 22.0.2021.9.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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