StatusBar::StatusBarPanelCollection::Contains Method (StatusBarPanel^)
.NET Framework (current version)
Determines whether the specified panel is located within the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- panel
-
Type:
System.Windows.Forms::StatusBarPanel^
The StatusBarPanel to locate in the collection.
Return Value
Type: System::Booleantrue if the panel is located within the collection; otherwise, false.
The Contains method enables you to determine whether a panel is a member of the collection. Once you know that the item is located within the collection, you can use the IndexOf method to determine where the panel is located within the collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: