Represents a strongly-typed wrapper for a ComboBox item, associating custom display text with an underlying value.
public class ItemWrapper<T>
parameter |
description |
T |
The type of the value associated with this ComboBox item. |
displayText |
The text shown to the user. |
value |
The backing value represented by this item. |
name |
description |
ItemWrapper(…) |
Represents a strongly-typed wrapper for a ComboBox item, associating custom display text with an underlying value. |
DisplayText { get; } |
Gets the text displayed in the ComboBox for this item. |
Value { get; } |
Gets the value associated with this item. |
override ToString() |
Returns the display text for this item. |