HistoryPanel - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: ItemDisplayPanel<Tuple<string, decimal>>
Implements: IHistoryItemDisplay

Description: Displays all available history items.

Constructors Usage
HistoryPanel() Initializes an instance of HistoryPanel class
HistoryPanel(IFormatter, IFormatter) Initializes an instance of HistoryPanel class with injected services
Events Usage
OnExtended(object, EventArgs) (inherited) when panel is fully extended
OnHistorySelect(object, EventArgs) when history item is selected
OnShrunken(object, EventArgs) (inherited) when panel is fully shrunken
OnClear(object, EventArgs) (inherited) when items on panel are cleared
Properties Usage
ItemPointer<int> (inherited) current focused item on panel
Items<T[]> (inherited) all items on panel
Methods Usage
ClearItems() clear all items on panel
ClearMessage() (inherited) clear text message on panel
Extend(int) (inherited) extend panel to target height
RefreshItems(Tuple<string, decimal>[]) refresh panel items
ResetPointer() (inherited) reset pointer back to 0
ScrollPanel(object, MouseEventArgs) (inherited) scroll panel up/down
Shrink() (inherited) shrink panel
ShowItems(Tuple<string, decimal>[]) display items on panel
ShowMessage(string) (inherited) display text message on panel
⚠️ **GitHub.com Fallback** ⚠️