Class ImageComboBoxItem
- Namespace
- AetherUtils.Core.WinForms.Models
- Assembly
- AetherUtils.Core.dll
Represents an item for an ImageComboBox<T>.
[UsedImplicitly]
public class ImageComboBoxItem
- Inheritance
-
ImageComboBoxItem
- Inherited Members
- Extension Methods
Constructors
ImageComboBoxItem(string, Image)
Represents an item for an ImageComboBox<T>.
public ImageComboBoxItem(string text, Image icon)
Parameters
textstring- The text string to display in the combo box.
iconImage- The image to display to the left of the
text.
Properties
Icon
An image to display to the left of Text.
public Image Icon { get; set; }
Property Value
Text
The string to display in the combo box.
public string Text { get; set; }
Property Value
Methods
ToString()
Returns just the Text of this item; no image.
public override string ToString()