Leadtools.Controls Namespace > ImageViewer Object : Tag Property |
get_tag();
set_tag(value);
Object.defineProperty('tag');
Type | Description |
---|---|
Object | An object that contains data about the control. Default value is null. |
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.