Back to Devexpress

ImageComboBoxItem Members

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imagecomboboxitem-dot-underscore-members.md

latest5.8 KB
Original Source

ImageComboBoxItem Members

Represents an individual item in ImageComboBoxEdit controls.

Constructors

NameDescription
ImageComboBoxItem()Creates a new instance of the ImageComboBoxItem class and sets all its properties to their default values.
ImageComboBoxItem(Int32)Creates a new instance of the ImageComboBoxItem class and initializes the item’s ImageComboBoxItem.ImageIndex property.
ImageComboBoxItem(Object, Int32)Creates a new instance of the ImageComboBoxItem class and initializes the item’s value and image index.
ImageComboBoxItem(Object)Creates a new instance of the ImageComboBoxItem class and initializes the item’s value.
ImageComboBoxItem(String, Int32)Creates a new instance of the ImageComboBoxItem class and initializes the item’s caption and image index.
ImageComboBoxItem(String, Object, Int32)Creates a new instance of the ImageComboBoxItem class and initializes its properties to the specified values.
ImageComboBoxItem(String, Object)Creates a new instance of the ImageComboBoxItem class and initializes the item’s value and caption.
ImageComboBoxItem(String)Creates a new instance of the ImageComboBoxItem class and initializes the item’s caption.

Properties

NameDescription
DescriptionGets or sets the item’s display text.
ImageIndexGets or sets the index of the image associated with the item.
ImagesGets the source that provides images for image combo box items.
ValueGets or sets the item value. This value is assigned to the editor’s edit value when users select the item. Inherited from ComboBoxItem.

Methods

NameDescription
Assign(ImageComboBoxItem)Copies all properties of the specified ImageComboBoxItem object to the current item.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the textual representation of the item.

See Also

ImageComboBoxItem Class

DevExpress.XtraEditors.Controls Namespace