DisplayedItems Property
Collapse the table of content
Expand the table of content

ToolStripOverflow.DisplayedItems Property


Gets all of the items that are currently being displayed on the ToolStrip.

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

protected internal override ToolStripItemCollection DisplayedItems { get; }

Property Value

Type: System.Windows.Forms.ToolStripItemCollection

A ToolStripItemCollection that includes all items on this ToolStrip.

Use the DisplayedItems property to get everything the ToolStrip currently displays, including items the user did not add, such as a ToolStripOverflowButton. Use the Items property to get all items on the ToolStrip, including those not being displayed.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft