ComponentOne Menus and Toolbars for WinForms
IndexOfID Method (C1NavBarPanel.PanelCollection)

C1.Win.C1Command.4 Assembly > C1.Win.C1Command Namespace > C1NavBarPanel.PanelCollection Class : IndexOfID Method
The value of the ID property to search for.
Determines the index of the item in the collection with the specified value of the ID property.
Syntax
'Declaration
 
Public Function IndexOfID( _
   ByVal id As System.Integer _
) As System.Integer
public System.int IndexOfID( 
   System.int id
)

Parameters

id
The value of the ID property to search for.

Return Value

Index of the panel with the specified ID, or -1 if no such panel exists.
See Also

Reference

C1NavBarPanel.PanelCollection Class
C1NavBarPanel.PanelCollection Members