Hi Michael,
Yes,you can create a separator through programmatically using the following code
this.parentBarItem2.BeginGroupAt(barItem7);
I have attached a sample that demonstrate this completely.In this sample I have created 3 baritems already under Edit menu ,then programmatically added 3 baritems after a separator.Please refer to it and let me know if
this meets your requirements.We appreciate your interest in Syncfusion products.
Thank you,
J.Nagaraj
DynamicMenus.zip