Delegate DropdownControl.ItemFormatterEvent
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
Delegate for custom item formatting in the dropdown list.
public delegate string DropdownControl.ItemFormatterEvent(DropdownItem item, bool isSelected, bool hasFocus)
Parameters
itemDropdownItemThe dropdown item to format.
isSelectedboolWhether the item is currently selected.
hasFocusboolWhether the dropdown control has focus.
Returns
- string
The formatted string representation of the item.