Method GetItemImages
GetItemImages(ListControlItem?, IListControlItemContainer?)
Retrieves the set of images associated with the specified list control item, taking into account its selection state and the containing list box.
public virtual EnumArray<VisualControlState, Image?> GetItemImages(ListControlItem? item, IListControlItemContainer? listBox)
Parameters
itemListControlItemThe list control item for which to obtain images. This parameter can be null to indicate no specific item.
listBoxIListControlItemContainerThe container that holds the list control item. This parameter can be null if the item is not associated with a container.
Returns
- EnumArray<VisualControlState, Image>
An object containing the images representing the visual states of the specified item. The returned value reflects the item's current state within the provided container.