ownerDraw Property


Indicates whether the control automatically renders the view and items.

Object.defineProperty(ImageViewer.prototype, 'ownerDraw', 
	get: function(), 
	set: function(value) 
ownerDraw: boolean; 

Property Value

true if the control automatically renders the view and items, otherwise; false.


When the value of OwnerDraw is set to false, the render cycle is not performed by the viewer and nothing is rendered on its surface by the control. It is up to the user to perform all the necessary rendering needed.

To customize only part of the rendering, use the various events fired during the render cycle. For an example, refer to PostRender.

For more information, refer to Image Viewer Rendering.


Target Platforms

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

Leadtools.Controls Assembly