ImageComboBoxItemCollection.Add(String, Object, Int32) Method
In This Article
Adds a new item to the current collection.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
description | String | A String value that specifies the new item’s caption. This value is assigned to the item’s Image |
value | Object | A Object that specifies the value associated with the new item. This value is assigned to the item’s Combo |
image |
Int32 | An integer value that specifies the index of the image linked to the new item. This value is assigned to the item’s Image |
#Returns
Type | Description |
---|---|
Int32 | The position to which the new element was inserted. |
See Also