Bearbeiten

Teilen über


ToolStrip.DisplayedItems Property

Definition

Gets the subset of items that are currently displayed on the ToolStrip, including items that are automatically added into the ToolStrip.

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

Property Value

A ToolStripItemCollection representing the items that are currently displayed on the ToolStrip.

Remarks

Use the DisplayedItems property to access only those items that are currently displayed. These are the items that are not currently in an overflow menu.

Use the Items collection to retrieve all the items of a ToolStrip.

Applies to

See also