ComponentTray::IsTrayComponent Method (IComponent^)

 

Tests a component for presence in the component tray.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

public:
bool IsTrayComponent(
	IComponent^ comp
)

Parameters

comp
Type: System.ComponentModel::IComponent^

The component to test for presence in the component tray.

Return Value

Type: System::Boolean

true if comp is being shown on the tray; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: