Delegate ListControl.ItemFormatterEvent
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
Delegate for custom item formatting.
public delegate string ListControl.ItemFormatterEvent(ListItem item, bool isSelected, bool hasFocus)
Parameters
itemListItemThe item to format.
isSelectedboolWhether the item is currently selected.
hasFocusboolWhether the list control has focus.
Returns
- string
The formatted string to display.