ToolStripItemOverflow Enum

Definition

Determines whether a ToolStripItem is placed in the overflow ToolStrip.

public enum class ToolStripItemOverflow
public enum ToolStripItemOverflow
type ToolStripItemOverflow = 
Public Enum ToolStripItemOverflow
Inheritance
ToolStripItemOverflow

Fields

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.

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.

Remarks

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

Applies to