ToolStripOverflow.DisplayedItems Property

Definition

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

protected public:
 virtual property System::Windows::Forms::ToolStripItemCollection ^ DisplayedItems { System::Windows::Forms::ToolStripItemCollection ^ get(); };
protected internal override System.Windows.Forms.ToolStripItemCollection DisplayedItems { get; }
member this.DisplayedItems : System.Windows.Forms.ToolStripItemCollection
Protected Friend Overrides ReadOnly Property DisplayedItems As ToolStripItemCollection

Property Value

A ToolStripItemCollection that includes all items on this ToolStrip.

Remarks

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.

Applies to