tag Property

Summary

Object that contains data about the control.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'tag', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly