[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonGroupCollection.Contains

Contains Method

Contains(string)

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

Declaration
public bool Contains(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
bool

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

Contains(RibbonGroup)

Determines whether the RibbonGroupCollection contains a specific RibbonGroup.

Declaration
public bool Contains(RibbonGroup group)
Parameters
Type Name Description
RibbonGroup group

The RibbonGroup to locate.

Returns
Type Description
bool

true if the group is found in the collection; otherwise, false.