I'm working on a PowerPoint Add-In project.
I'm trying to create a RibbonToggleButton in code-behind but I can't do it the way I thought,
RibbonToggleButton toggleButton = new RibbonToggleButton();
Is it possible to create RibbonControls in code-behind and not the RibbonDesigner or RibbonXML?