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. |
name |
description |
ItemWrapper(…) |
Initializes a new instance of the ItemWrapper class. |
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. |