Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ToolStrip.DisplayedItems Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
ToolStrip.cs
Source:
ToolStrip.cs
Source:
ToolStrip.cs
Source:
ToolStrip.cs
Source:
ToolStrip.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?