ToolStripTabItem tab = new ToolStripTabItem(); //To add ToolStripTabItem in RibbonControlAdv this.ribbonControlAdv1.Header.AddMainItem(tab); ToolStripEx Strip = new ToolStripEx(); //To Add ToolStripEx in RibbonControlAdv panel (this.ribbonControlAdv1.SelectedTab as ToolStripTabItem).Panel.Controls.Add(Strip); |
Dim tab As New ToolStripTabItem()
'To add ToolStripTabItem in RibbonControlAdv
Me.ribbonControlAdv1.Header.AddMainItem(tab)
Dim Strip As New ToolStripEx()
'To Add ToolStripEx in RibbonControlAdv panel
TryCast(Me.ribbonControlAdv1.SelectedTab,ToolStripTabItem).Panel.Controls.Add(Strip) |