SidePanel - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UserControlClassLibrary
Extends: UserControl
Implements: ISidePanel

Description: Side bar with menu options.

Constructors Usage
SidePanel() Initializes an instance of SidePanel class
SidePanel(IHelper) Initializes an instance of SidePanel class with injected services
Events Usage
OnExtended(object, EventArgs) when panel is fully extended
OnShrunken(object, EventArgs) when panel is fully shrunken
OnSelect(object, EventArgs) when menu option is selected
Properties Usage
Selected<string> get selected menu option name
Methods Usage
AdjustSize() adjust size of side panel to fit parent control
Extend(int) extend side panel to target width
ShowMenu(List<string[]>, string) display menu options
Shrink() shrink panel
⚠️ **GitHub.com Fallback** ⚠️