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)

public protected:
property ToolStripItemCollection^ DisplayedItems {
	virtual ToolStripItemCollection^ get() override;
}

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
Show: