I would like to add a button in the code behind to a ribbon group.
MyRibbonGrp.Items.Add(new Button());
That also works wonderfully.
However, I would like to add the button to a StackPanel so that it is added small (AlwaysSmall).
A stack panel does not have an Items.Add() method. Can someone help me with this?
Thanks!