JVCL Help:IJvDataItemImage
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: IJvDataItemImage Interface
[+] IJvDataItemImage Methods
[+] IJvDataItemImage Properties
[+] JvDataProviderIntf.pas Interfaces
Search in JVCL Help
Search in all projectsClass Hierarchy
IJvDataItemImage
TJvBaseDataItemImageImpl
run\JvDataProviderIntf.pas
Summary
Data Item support interface for adding image support to an item.
Pascal
run\JvDataProviderIntf.pas
IJvDataItemImage = interface;
Description
IJvDataItemImage is a supporting interface for IJvDataItem that adds image support to an item. For this interface to be useful, some things have to be taken care of:
- The IJvDataItems owner of the item (or any of the IJvDataItems owners in the parent chain) must support the IJvDataItemsImages interface and at least have a valid image list assigned to its Images property.
- The rendering code must be able to handle images. Rendering may be handled at the item itself (IJvDataItemRenderer supported by this item), by the item list owner of this item of any item in the parent chain (IJvDataItemsRenderer supported by an IJvDataItems implementation) or at the consumer (client control). The JEDI-VCL provides generic render implementations of which some do support image.
The interface provides properties to manage:
- The position of the image in relation to the text
- Which image to use in normal cases
- which image to use when the item is selected/has focus.
See Also
IJvDataItem, IJvDataItemsImages
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page