Table of Contents

Method GetItemImages

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

item ListControlItem

The list control item for which to obtain images. This parameter can be null to indicate no specific item.

listBox IListControlItemContainer

The 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.