ToolStripItemOverflow Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a ToolStripItem is placed in the overflow ToolStrip.
public enum class ToolStripItemOverflow
public enum ToolStripItemOverflow
type ToolStripItemOverflow =
Public Enum ToolStripItemOverflow
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Never | 0 | Specifies that a ToolStripItem is never a candidate for the overflow ToolStrip. If the ToolStripItem cannot fit on the main ToolStrip, it will not be shown. |
Always | 1 | Specifies that a ToolStripItem is permanently shown in the overflow ToolStrip. |
AsNeeded | 2 | Specifies that a ToolStripItem drifts between the main ToolStrip and the overflow ToolStrip as required if space is not available on the main ToolStrip. |
Remarks
If there are more overflow items than can be displayed on the form, use the ToolStrip Items Collection Editor to manage this situation.