Articles in this section

How to align the controls in multiline on ToolStripEx in WinForms RibbonControlAdv?

Align the controls in multiline

The RowCount property of ToolStripPanelItem used to arrange the controls in any number of rows inside the ToolStripPanelItem.

C#

this.toolStripPanelItem1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {this.cutToolStripBtn,this.copyToolStripBtn});
this.toolStripPanelItem1.RowCount = 2;
this.toolStripEx1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {this.pasteToolStripDropDownBtn,this.toolStripPanelItem1});

VB

Dim System.Windows.Forms.ToolStripItem() As Me.toolStripPanelItem1.Items.AddRange(New{Me.cutToolStripBtn,Me.copyToolStripBtn})
Me.toolStripPanelItem1.RowCount = 2
Dim System.Windows.Forms.ToolStripItem() As Me.toolStripEx1.Items.AddRange(New {Me.pasteToolStripDropDownBtn,Me.toolStripPanelItem1})

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied