Table of Contents

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

item ListItem

The item to format.

isSelected bool

Whether the item is currently selected.

hasFocus bool

Whether the list control has focus.

Returns

string

The formatted string to display.