Interface IDisplayable
Provides the value that should be shown for a custom model item.
public interface IDisplayable
Remarks
Implement IDisplayable on a custom item type used by ListModel<T> or TableModel<T> when the default displayed value should not be the object itself.
This is commonly used when an item carries multiple properties, but one of them should be treated as the main visible value. For example, a contact item might expose both a name and an email address while showing only the name by default.
Properties
DisplayValue
Gets the value that should be exposed through the built-in display role.
object DisplayValue { get; }