tag Property

Summary

Object that contains data about the control.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype, 'tag', 
	get: function(), 
	set: function(value) 
) 
tag: any; 

Property Value

An object that contains data about the control. Default value is null.

Remarks

Any value can be assigned to this property and is not used by the ImageViewer.

A common use for the Tag property is to store data that is closely associated with the viewer. For example, if you have a viewer that displays information from a database, you might the ID of the data item in the viewer's Tag property so that it can be referenced quickly from other parts of the application.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
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.