ComponentTray::GetNextComponent Method (IComponent^, Boolean)
.NET Framework (current version)
Similar to Control::GetNextControl, this method returns the next component in the tray, given a starting component.
Assembly: System.Design (in System.Design.dll)
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component from which to start enumerating.
- forward
-
Type:
System::Boolean
true to enumerate forward through the list; otherwise, false to enumerate backward.
Return Value
Type: System.ComponentModel::IComponent^The next component in the component tray, or null, if the end of the list is encountered (or the beginning, if forward is false).
.NET Framework
Available since 2.0
Available since 2.0
Show: