Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageComboBoxItemCollection.AddImages(Object) Method

Retrieves images from the target image list, assigned to either the RepositoryItemImageComboBox.SmallImages or RepositoryItemImageComboBox.LargeImages property.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void AddImages(
    object imageList
)

#Parameters

Name Type Description
imageList Object

An Object that stores images to be added.

#Remarks

The following sample retrieves icons from the SvgImageCollection object.

imageComboBoxEdit1.Properties.SmallImages = svgImageCollection1;
imageComboBoxEdit1.Properties.AddImages(svgImageCollection1);
for (int i = 1; i <= svgImageCollection1.Count; i++)
    imageComboBoxEdit1.Properties.Items[i-1].Description = "Image " + i.ToString();
See Also