Question: How to add ribbon group at run time
LiorBanai opened this issue · comments
Lior Banai commented
Hi,
I'm creating a ribbon at run time and when I'm adding a ribbon group I/m getting the following error:
System.ArgumentException
HResult=0x80070057
Message=Type to be added is not allowed in this collection.
Source=ComponentFactory.Krypton.Toolkit
StackTrace:
at ComponentFactory.Krypton.Toolkit.TypedRestrictCollection`1.Add(Object value) in D:\Github\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\TypedRestrictCollection.cs:line 68
what is the correct way to add ribbon Group?