Skip to main content
A newer version of this page is available. .

BaseImageListBoxControl Class

Serves as a base for ImageListBoxControl class.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[SmartTagAction(typeof(BaseImageListBoxControlActions), "EditItems", "Edit items", SmartTagActionType.CloseAfterExecute)]
[SmartTagFilter(typeof(BaseImageListBoxControlFilter))]
public abstract class BaseImageListBoxControl :
    BaseListBoxControl

Remarks

This class is abstract and thus cannot be used directly. It inherits properties and methods from the BaseListBoxControl class which are common for all list box controls. It also introduces specific properties and methods peculiar only to image list box controls. The BaseImageListBoxControl.ImageList property represents the ImageList object containing images displayed next to items. The BaseImageListBoxControl.Items property enables you to access the collection of items represented by the ImageListBoxItemCollection class.

The ImageListBoxControl can be data bound using the BaseListBoxControl.DataSource property. The BaseImageListBoxControl.ImageIndexMember property represents the name of the proper data source field whose contents represent indexes of the images displayed within the items.

If you need to obtain the index of the image displayed next to a specific item, use the BaseImageListBoxControl.GetItemImageIndex method.

See Also