Back to Devexpress

RepositoryItemImageComboBox.LargeImages Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemimagecombobox-61b1ab0b.md

latest4.4 KB
Original Source

RepositoryItemImageComboBox.LargeImages Property

Gets or sets the source of large images.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public object LargeImages { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property LargeImages As Object

Property Value

TypeDefaultDescription
Objectnull

An object that is an image collection providing large images for the editor’s items.

|

Remarks

Each item can be associated with a small and/or large image from an image collection(s). Large images are obtained from the LargeImages collection, while small images are obtained from the RepositoryItemImageComboBox.SmallImages.

If both LargeImages and RepositoryItemImageComboBox.SmallImages specify non-null values, items are represented by small images in the edit box and large images in the dropdown. If only one of these properties is assigned, the editor uses images from the corresponding list to display items in both places. If neither property is assigned, items are only represented by their captions.

The LargeImages property accepts the following image collections:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LargeImages property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-imagecomboboxedit-disable-specific-items/CS/WindowsApplication33/Form1.cs#L26

csharp
imageComboBoxEdit1.Properties.SmallImages = imageList1;
imageComboBoxEdit1.Properties.LargeImages = imageList2;

winforms-imagecomboboxedit-disable-specific-items/VB/WindowsApplication33/Form1.vb#L24

vb
imageComboBoxEdit1.Properties.SmallImages = imageList1
imageComboBoxEdit1.Properties.LargeImages = imageList2
imageComboBoxEdit1.Properties.Items.Add(New ImageComboBoxItem("Left", 0))

See Also

ImageIndex

SmallImages

RepositoryItemImageComboBox Class

RepositoryItemImageComboBox Members

DevExpress.XtraEditors.Repository Namespace