ComponentTray Class

ComponentTray Class

Provides behavior for the component tray of the form designer. The component tray represents components that do not otherwise provide a visible surface at design time and provides a way for users to access and set the properties of those components.

For a list of all members of this type, see ComponentTray Members.


[Visual Basic]
Public Class ComponentTray
   Inherits ScrollableControl
   Implements IExtenderProvider
public class ComponentTray : ScrollableControl, IExtenderProvider
public __gc class ComponentTray : public ScrollableControl,
public class ComponentTray extends ScrollableControl implements

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Some types of components, such as a Timer, may not have a user interface that can be viewed at design time. These components are usually represented by icons that are shown in the component tray.

The component tray is a rectangular region displayed at the bottom of the design view window while in design view mode, once it is active. The component tray becomes active in design view after a component that is displayed in the component tray has been added to or is part of the current document.


Namespace: System.Windows.Forms.Design

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

ComponentTray Members | System.Windows.Forms.Design Namespace

© 2016 Microsoft