ExpandablePanel - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: UserControl
Implements: IExpandable, IDisplayPanel

Description: Panel that can extend/shrink on vertical direction.

Constructors Usage
ExpandablePanel() Initializes an instance of ExpandablePanel class
ExpandablePanel(IHelper) Initializes an instance of ExpandablePanel class with injected services
Events Usage
OnExtended(object, EventArgs) when panel is fully extended
OnShrunken(object, EventArgs) when panel is fully shrunken
OnClear(object, EventArgs) when items on panel are cleared
Methods Usage
ClearMessage() clear text message on panel
Extend(int) extend panel to target height
Shrink() shrink panel
ShowMessage(string) display text message on panel