Working on a Ribbon task, and am seeking some guidance on a scalable Class structure for my Solution.
The CommandMethods for adding/activating, and removing the RibbonTab are good (
thanks to Jeff_M's guidance here!).
I'm specifically seeking to effectively organize my RibbonPanels and RibbonButtons into appropriate Classes, and Methods for creating said components, inheriting the base RibbonPanel, and RIbbonButton Classes, for the purpose of predefining the Custom Panel Buttons, and the Custom Button Properties.
I still get terms mixed up, so if I'm 'speaking' incorrectly, please let me know... I believe that I need a Constructor to Instantiate my custom Objects from the CommandMethod?
In any event, my initial thought is to have an pseudo
CustomRibbonPanel : RibbonPanel Class, and
CustomRibbonButton : RibbonButton Class, which will have the appropriate Add() Method(s) (
perhaps some overloads will be needed per button criteria, etc.?)... I just want to know if I'm on the right path before I go wasting hours (
yes, it will probably take me hours!) of my life.
Pointing me towards any relevant posts, tutorials, or tips that I am obviously overlooking would be greatly appreciated.
TIA