Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.Design.ComponentTray

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

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.

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.