[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonTabCollection.Contains

Contains Method

Contains(string)

Determines whether the collection contains a RibbonTab with the given name.

Declaration
public bool Contains(string name)
Public Function Contains(name As String) As Boolean
Parameters
Type Name Description
string name

String containing the name of the tab to locate (case-sensitive).

Returns
Type Description
bool

True if the collection contains an object with the given name, false otherwise.

Contains(RibbonTab)

Determines whether the RibbonTabCollection contains a specific RibbonTab.

Declaration
public bool Contains(RibbonTab tab)
Public Function Contains(tab As RibbonTab) As Boolean
Parameters
Type Name Description
RibbonTab tab
Returns
Type Description
bool