dotnetmonitor.com |
|
||||||||||||
| Alignment is the ability for an item to align itself
at one end or the other of the ToolStrip. With this you can get layouts similar
to the main menu in Microsoft Word with the help combo box aligned right. The alignment
property works only when the LayoutStyle of the ToolStrip is set to StackWithOverflow,
HorizontalStackWithOverflow or VerticalStackWithOverflow.
Item layout is done in natural or collection order the algorithm simply places item in the ToolStrip as encountered in the Items collection. To programmatically alter where an item is laid out, move the item in the collection via the toolStrip.Items.Insert() method. Note this will move the item, not duplicate it. |
||||||||||||
|
||||||||||||