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

RibbonPageCategory.GetPageByText(String) Method

Returns a Ribbon Page by its caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public virtual RibbonPage GetPageByText(
    string pageText
)

Parameters

Name Type Description
pageText String

A string that represents the caption of the page to be located. The page’s caption is specified by the RibbonPage.Text property.

Returns

Type Description
RibbonPage

A RibbonPage object with the specified caption; null if there is no page with the specified caption.

See Also