Skip to main content

ImageComboBoxItem Members

Represents an individual item in ImageComboBoxEdit controls.

Constructors

Name Description
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

Name Description
Description Gets or sets the item’s display text.
ImageIndex Gets or sets the index of the image associated with the item.
Images Gets the source that provides images for image combo box items.
Value Gets or sets the item value. This value is assigned to the editor’s edit value when users select the item. Inherited from ComboBoxItem.

Methods

Name Description
Assign(ImageComboBoxItem) Copies all properties of the specified ImageComboBoxItem object to the current item.
Equals(Object, Object) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of the item.
See Also