RepositoryItemImageComboBox.SmallImages Property
Gets or sets the source of small images.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object SmallImages { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Object | null | An object that is an image collection providing small 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 RepositoryItemImageComboBox.LargeImages collection, while small images are obtained from the SmallImages.
If both RepositoryItemImageComboBox.LargeImages and 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 SmallImages property accepts the following image collections:
- ImageCollection - Supports image transparency.
- SharedImageCollection - Supports image transparency. Allows you to share images between controls within multiple forms.
- SvgImageCollection - Stores vector icons that can scale without losing their quality on high resolution devices.
- ImageList.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SmallImages 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.