ToolStrip.DisplayedItems Property

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

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

protected internal virtual ToolStripItemCollection DisplayedItems { get; }
/** @property */
protected ToolStripItemCollection get_DisplayedItems ()

protected internal function get DisplayedItems () : ToolStripItemCollection

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: