ToolStrip::LayoutStyle Property
.NET Framework (current version)
Gets or sets a value indicating how the ToolStrip lays out the items collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ToolStripLayoutStyle LayoutStyle { ToolStripLayoutStyle get(); void set(ToolStripLayoutStyle value); }
Property Value
Type: System.Windows.Forms::ToolStripLayoutStyleOne of the ToolStripLayoutStyle values. The possible values are Table, Flow, StackWithOverflow, HorizontalStackWithOverflow, and VerticalStackWithOverflow.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value of LayoutStyle is not one of the ToolStripLayoutStyle values. |
.NET Framework
Available since 2.0
Available since 2.0
Show: