ToolStripItemOverflow Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether a ToolStripItem is placed in the overflow ToolStrip.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ToolStripItemOverflow

Member nameDescription
Always

Specifies that a ToolStripItem is permanently shown in the overflow ToolStrip.

AsNeeded

Specifies that a ToolStripItem drifts between the main ToolStrip and the overflow ToolStrip as required if space is not available on the main ToolStrip.

Never

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.

If there are more overflow items than can be displayed on the form, use the ToolStrip Items Collection Editor to manage this situation.

.NET Framework
Available since 2.0
Return to top
Show: