Skip to main content
A newer version of this page is available. .

RibbonPageCategoryCollection.GetCategoryByText(String) Method

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.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