System.Windows.Forms.ToolBar.Wrappable Property

Gets or sets a value indicating whether the toolbar buttons wrap to the next line if the toolbar becomes too small to display all the buttons on the same line.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(true)]
public bool Wrappable { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Toolbar buttons can be divided into logical groups by using separators. A separator is a toolbar button with the ToolBarButton.Style property set to ToolBarButtonStyle.Separator. If the ToolBar.Wrappable property is set to true and the toolbar becomes too small to display all the buttons on the same line, the toolbar is broken into additional lines, with the breaks occurring at the separators. This ensures that button groups stay together. Toolbar buttons that are not in a group can be separated when the toolbar wraps. The toolbar can become too small to display all its buttons on the same line if its parent System.Windows.Forms.Form is resized.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0