Skip to main content

RibbonPageCategoryCollection.GetCategoryByText(String) Method

Returns a category by its caption (RibbonPageCategory.Text).

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public RibbonPageCategory GetCategoryByText(
    string text
)

Parameters

Name Type Description
text String

The caption of the required category matching the RibbonPageCategory.Text property’s value.

Returns

Type Description
RibbonPageCategory

A RibbonPageCategory object that has the specified caption.

See Also